Package org.ldaptive.auth
Interface AccountState.Error
-
- All Known Implementing Classes:
ActiveDirectoryAccountState.Error,EDirectoryAccountState.Error,FreeIPAAccountState.Error,PasswordExpirationAccountState.Error,PasswordPolicyControl.Error
- Enclosing class:
- AccountState
public static interface AccountState.ErrorContains error information for an account state.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetCode()Returns the error code.java.lang.StringgetMessage()Returns the error message.voidthrowSecurityException()Throws the LoginException that best maps to this error.
-
-
-
Method Detail
-
getCode
int getCode()
Returns the error code.- Returns:
- error code
-
getMessage
java.lang.String getMessage()
Returns the error message.- Returns:
- error message
-
throwSecurityException
void throwSecurityException() throws javax.security.auth.login.LoginExceptionThrows the LoginException that best maps to this error.- Throws:
javax.security.auth.login.LoginException- for this account state error
-
-