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