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>
public final class LDAPResponseContext extends 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 Modifier and Type Field Description private AuthenticationResponseauthenticationResponseAuthentication response.
-
Constructor Summary
Constructors Constructor Description LDAPResponseContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationResponsegetAuthenticationResponse()Get the LDAP authentication response.booleanhasAccountStateError()Check for the presence of account state errors.booleanhasAccountStateWarning()Check for the presence of account state warnings.LDAPResponseContextsetAuthenticationResponse(AuthenticationResponse response)Set the LDAP authentication response.StringtoString()-
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 Detail
-
authenticationResponse
@Nullable private AuthenticationResponse authenticationResponse
Authentication response.
-
-
Method Detail
-
getAuthenticationResponse
@Nullable public AuthenticationResponse 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
-
-