Package org.ldaptive.auth.ext
Class ActiveDirectoryAccountState
java.lang.Object
org.ldaptive.auth.AccountState
org.ldaptive.auth.ext.ActiveDirectoryAccountState
Represents the state of an Active Directory account. Note that the warning returned by this implementation always
returns -1 for logins remaining.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Enum to define active directory errors.Nested classes/interfaces inherited from class org.ldaptive.auth.AccountState
AccountState.DefaultWarning, AccountState.Warning
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ActiveDirectoryAccountState.Error
active directory specific enum. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new active directory account state.Creates a new active directory account state. -
Method Summary
Modifier and TypeMethodDescriptionReturns the active directory error for this account state.Methods inherited from class org.ldaptive.auth.AccountState
getError, getErrors, getWarning, getWarnings, toString
-
Field Details
-
adError
active directory specific enum.
-
-
Constructor Details
-
ActiveDirectoryAccountState
Creates a new active directory account state.- Parameters:
exp
- account expiration
-
ActiveDirectoryAccountState
Creates a new active directory account state.- Parameters:
error
- containing authentication failure details
-
-
Method Details
-
getActiveDirectoryError
Returns the active directory error for this account state.- Returns:
- active directory error
-