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, BaseContext.DeprecatedContextClassNameLookAside -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the LDAP authentication response.booleanCheck for the presence of account state errors.booleanCheck 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, ensureSubcontext, ensureSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, iterator, removeFromParent, removeSubcontext, removeSubcontext, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
-