public class PasswordException
extends java.lang.Exception
LdapConnectionTemplate.| Modifier and Type | Field and Description |
|---|---|
private LdapException |
ldapException |
private PasswordPolicyErrorEnum |
passwordPolicyError |
private ResultCodeEnum |
resultCode |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
PasswordException() |
| Modifier and Type | Method and Description |
|---|---|
LdapException |
getLdapException()
If an LdapException was thrown causing this exception, that
LdapException is returned.
|
PasswordPolicyErrorEnum |
getPasswordPolicyError()
Returns the password policy error code if present, otherwise null.
|
ResultCodeEnum |
getResultCode()
Returns the result code from the attempt to bind or modify the
userPassword.
|
PasswordException |
setLdapException(LdapException ldapException) |
PasswordException |
setPasswordPolicyError(PasswordPolicyErrorEnum passwordPolicyError) |
PasswordException |
setResultCode(ResultCodeEnum resultCode) |
private static final long serialVersionUID
private LdapException ldapException
private ResultCodeEnum resultCode
private PasswordPolicyErrorEnum passwordPolicyError
public LdapException getLdapException()
public ResultCodeEnum getResultCode()
public PasswordPolicyErrorEnum getPasswordPolicyError()
public PasswordException setLdapException(LdapException ldapException)
public PasswordException setPasswordPolicyError(PasswordPolicyErrorEnum passwordPolicyError)
public PasswordException setResultCode(ResultCodeEnum resultCode)