Class AuthenticationCriteria


  • public class AuthenticationCriteria
    extends Object
    Contains the properties used to perform authentication.
    • Field Detail

      • authenticationDn

        private String authenticationDn
        dn.
    • Constructor Detail

      • AuthenticationCriteria

        public AuthenticationCriteria()
        Default constructor.
      • AuthenticationCriteria

        public AuthenticationCriteria​(String dn)
        Creates a new authentication criteria.
        Parameters:
        dn - to authenticate
      • AuthenticationCriteria

        public AuthenticationCriteria​(String dn,
                                      AuthenticationRequest request)
        Creates a new authentication criteria.
        Parameters:
        dn - to authenticate
        request - that initiated the authentication
    • Method Detail

      • getDn

        public String getDn()
        Returns the dn.
        Returns:
        dn to authenticate
      • setDn

        public void setDn​(String dn)
        Sets the dn.
        Parameters:
        dn - to set dn
      • getCredential

        public Credential getCredential()
        Returns the credential.
        Returns:
        credential to authenticate dn
      • getAuthenticationRequest

        public AuthenticationRequest getAuthenticationRequest()
        Returns the authentication request.
        Returns:
        authentication request
      • setAuthenticationRequest

        public void setAuthenticationRequest​(AuthenticationRequest request)
        Sets the authentication request.
        Parameters:
        request - to set authentication request