Package org.ldaptive.auth
Class AuthenticationCriteria
java.lang.Object
org.ldaptive.auth.AuthenticationCriteria
Contains the properties used to perform authentication.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringdn.private AuthenticationRequestauthentication request. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.Creates a new authentication criteria.AuthenticationCriteria(String dn, AuthenticationRequest request) Creates a new authentication criteria. -
Method Summary
-
Field Details
-
authenticationDn
dn. -
authenticationRequest
authentication request.
-
-
Constructor Details
-
AuthenticationCriteria
public AuthenticationCriteria()Default constructor. -
AuthenticationCriteria
Creates a new authentication criteria.- Parameters:
dn- to authenticate
-
AuthenticationCriteria
Creates a new authentication criteria.- Parameters:
dn- to authenticaterequest- that initiated the authentication
-
-
Method Details
-
getDn
Returns the dn.- Returns:
- dn to authenticate
-
setDn
Sets the dn.- Parameters:
dn- to set dn
-
getCredential
Returns the credential.- Returns:
- credential to authenticate dn
-
getAuthenticationRequest
Returns the authentication request.- Returns:
- authentication request
-
setAuthenticationRequest
Sets the authentication request.- Parameters:
request- to set authentication request
-
toString
-