Package net.shibboleth.idp.authn.context
Class UsernameContext
java.lang.Object
org.opensaml.messaging.context.BaseContext
net.shibboleth.idp.authn.context.UsernameContext
- All Implemented Interfaces:
Iterable<BaseContext>
Context that carries a username (without a password) to be validated.
- Parent:
AuthenticationContext
- Added:
- After extracting a username during authentication
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.opensaml.messaging.context.BaseContext
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, iterator, removeSubcontext, removeSubcontext, setParent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
username
The username.
-
-
Constructor Details
-
UsernameContext
public UsernameContext()
-
-
Method Details
-
getUsername
Gets the username.- Returns:
- the username
-
setUsername
Sets the username.- Parameters:
name
- the username- Returns:
- this context
-