Package net.shibboleth.idp.authn.context
Class LDAPResponseContext
java.lang.Object
org.opensaml.messaging.context.BaseContext
net.shibboleth.idp.authn.context.LDAPResponseContext
- All Implemented Interfaces:
Iterable<BaseContext>
A context containing data about an LDAP authentication operation.
- Parent:
AuthenticationContext
- Added:
- After an LDAP authentication attempt
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the LDAP authentication response.boolean
Check for the presence of account state errors.boolean
Check for the presence of account state warnings.Set the LDAP authentication response.toString()
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, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
authenticationResponse
Authentication response.
-
-
Constructor Details
-
LDAPResponseContext
public LDAPResponseContext()
-
-
Method Details
-
getAuthenticationResponse
Get the LDAP authentication response.- Returns:
- LDAP authentication response
-
setAuthenticationResponse
@Nonnull public LDAPResponseContext setAuthenticationResponse(@Nullable AuthenticationResponse response) Set the LDAP authentication response.- Parameters:
response
- of an LDAP authentication- Returns:
- this context
-
hasAccountStateWarning
public boolean hasAccountStateWarning()Check for the presence of account state warnings.- Returns:
- true if account state warnings exist
-
hasAccountStateError
public boolean hasAccountStateError()Check for the presence of account state errors.- Returns:
- true if account state errors exist
-
toString
-