Package org.ldaptive.auth.ext
Class EDirectoryAccountState
java.lang.Object
org.ldaptive.auth.AccountState
org.ldaptive.auth.ext.EDirectoryAccountState
Represents the state of an eDirectory account.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Enum to define edirectory errors.Nested classes/interfaces inherited from class org.ldaptive.auth.AccountState
AccountState.DefaultWarning, AccountState.Warning
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final EDirectoryAccountState.Error
edirectory specific enum. -
Constructor Summary
ConstructorsConstructorDescriptionEDirectoryAccountState
(ZonedDateTime exp, int remaining) Creates a new edirectory account state.Creates a new edirectory account state. -
Method Summary
Modifier and TypeMethodDescriptionReturns the edirectory error for this account state.Methods inherited from class org.ldaptive.auth.AccountState
getError, getErrors, getWarning, getWarnings, toString
-
Field Details
-
edError
edirectory specific enum.
-
-
Constructor Details
-
EDirectoryAccountState
Creates a new edirectory account state.- Parameters:
exp
- account expirationremaining
- number of logins available
-
EDirectoryAccountState
Creates a new edirectory account state.- Parameters:
error
- containing authentication failure details
-
-
Method Details
-
getEDirectoryError
Returns the edirectory error for this account state.- Returns:
- edirectory error
-