Class AuthenticationImpl

    • Method Detail

      • authenticate

        public Uid authenticate​(ObjectClass objectClass,
                                String username,
                                GuardedString password,
                                OperationOptions options)
        Authenticate using the basic credentials.
        Specified by:
        authenticate in interface AuthenticationApiOp
        Parameters:
        objectClass - The object class to use for authenticate. Will typically be an account. Must not be null.
        username - string that represents the account or user id.
        password - string that represents the password for the account or user.
        options - additional options that impact the way this operation is run. May be null.
        Returns:
        Uid The uid of the account that was used to authenticate
        See Also:
        AuthenticationOpTests#authenticate(String, String)