Uses of Class
org.apache.directory.ldap.client.template.exception.PasswordException

Packages that use PasswordException
  • Uses of PasswordException in org.apache.directory.ldap.client.template

    Modifier and Type
    Method
    Description
    AbstractPasswordPolicyResponder.exception(org.apache.directory.api.ldap.model.exception.LdapException e)
    Translates an LdapException to a PasswordException to be thrown when AbstractPasswordPolicyResponder.process(PasswordPolicyOperation) fails.
    AbstractPasswordPolicyResponder.fail(org.apache.directory.api.ldap.model.message.ResultResponse resultResponse, org.apache.directory.api.ldap.extras.controls.ppolicy.PasswordPolicyResponse passwordPolicyResponse, org.apache.directory.api.ldap.model.message.ResultCodeEnum resultCode)
    Returns an exception to be thrown in the case of a non SUCCESS resultCode.
    Modifier and Type
    Method
    Description
    LdapConnectionOperations.authenticate(String baseDn, String filter, org.apache.directory.api.ldap.model.message.SearchScope scope, char[] password)
    Attempts to authenticate the supplied credentials against the first entry found matching the search criteria.
    LdapConnectionOperations.authenticate(org.apache.directory.api.ldap.model.message.SearchRequest searchRequest, char[] password)
    Attempts to authenticate the supplied credentials against the first entry found matching the search criteria.
    LdapConnectionOperations.authenticate(org.apache.directory.api.ldap.model.name.Dn userDn, char[] password)
    Attempts to authenticate the supplied credentials.
    LdapConnectionOperations.authenticate(org.apache.directory.api.ldap.model.name.Dn baseDn, String filter, org.apache.directory.api.ldap.model.message.SearchScope scope, char[] password)
    Attempts to authenticate the supplied credentials against the first entry found matching the search criteria.
    LdapConnectionTemplate.authenticate(String baseDn, String filter, org.apache.directory.api.ldap.model.message.SearchScope scope, char[] password)
    Attempts to authenticate the supplied credentials against the first entry found matching the search criteria.
    LdapConnectionTemplate.authenticate(org.apache.directory.api.ldap.model.message.SearchRequest searchRequest, char[] password)
    Attempts to authenticate the supplied credentials against the first entry found matching the search criteria.
    LdapConnectionTemplate.authenticate(org.apache.directory.api.ldap.model.name.Dn userDn, char[] password)
    Attempts to authenticate the supplied credentials.
    LdapConnectionTemplate.authenticate(org.apache.directory.api.ldap.model.name.Dn baseDn, String filter, org.apache.directory.api.ldap.model.message.SearchScope scope, char[] password)
    Attempts to authenticate the supplied credentials against the first entry found matching the search criteria.
    void
    LdapConnectionOperations.modifyPassword(org.apache.directory.api.ldap.model.name.Dn userDn, char[] newPassword)
    Modifies the password for userDn to newPassword using the admin account.
    void
    LdapConnectionOperations.modifyPassword(org.apache.directory.api.ldap.model.name.Dn userDn, char[] oldPassword, char[] newPassword)
    Modifies the password for userDn from oldPassword to newPassword.
    void
    LdapConnectionOperations.modifyPassword(org.apache.directory.api.ldap.model.name.Dn userDn, char[] oldPassword, char[] newPassword, boolean asAdmin)
    Modifies the password for userDn from oldPassword to newPassword, optionally using an admin account.
    void
    LdapConnectionTemplate.modifyPassword(org.apache.directory.api.ldap.model.name.Dn userDn, char[] newPassword)
    Modifies the password for userDn to newPassword using the admin account.
    void
    LdapConnectionTemplate.modifyPassword(org.apache.directory.api.ldap.model.name.Dn userDn, char[] oldPassword, char[] newPassword)
    Modifies the password for userDn from oldPassword to newPassword.
    void
    LdapConnectionTemplate.modifyPassword(org.apache.directory.api.ldap.model.name.Dn userDn, char[] oldPassword, char[] newPassword, boolean asAdmin)
    Modifies the password for userDn from oldPassword to newPassword, optionally using an admin account.
    AbstractPasswordPolicyResponder.process(PasswordPolicyOperation operation)
    Execute the operation and translate the outcome as follows: SUCCESS: return null WARNING: return PasswordWarning FAILURE: throw PasswordException
    org.apache.directory.api.ldap.model.message.ResultResponse
    PasswordPolicyOperation.process()
    Execute operations whose results imply somme sort of password policy information.
    PasswordPolicyResponder.process(PasswordPolicyOperation operation)
    Execute the operation and translate the outcome as follows: SUCCESS: return null WARNING: return PasswordWarning FAILURE: throw PasswordException
  • Uses of PasswordException in org.apache.directory.ldap.client.template.exception

    Modifier and Type
    Method
    Description
    PasswordException.setLdapException(org.apache.directory.api.ldap.model.exception.LdapException ldapException)
    Sets the wrapped exception
    PasswordException.setPasswordPolicyError(org.apache.directory.api.ldap.extras.controls.ppolicy.PasswordPolicyErrorEnum passwordPolicyError)
    Set the Password Policy error
    PasswordException.setResultCode(org.apache.directory.api.ldap.model.message.ResultCodeEnum resultCode)
    Sets the LDAP Result code