Package org.ldaptive.auth.ext
Class FreeIPAAccountState
- java.lang.Object
-
- org.ldaptive.auth.AccountState
-
- org.ldaptive.auth.ext.FreeIPAAccountState
-
public class FreeIPAAccountState extends AccountState
Represents the state of a FreeIPA account.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FreeIPAAccountState.Error
Enum to define FreeIPA errors.-
Nested classes/interfaces inherited from class org.ldaptive.auth.AccountState
AccountState.DefaultWarning, AccountState.Warning
-
-
Field Summary
Fields Modifier and Type Field Description private FreeIPAAccountState.Error
fError
freeipa specific enum.
-
Constructor Summary
Constructors Constructor Description FreeIPAAccountState(ZonedDateTime exp, int remaining)
Creates a new freeipa account state.FreeIPAAccountState(FreeIPAAccountState.Error error)
Creates a new freeipa account state.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FreeIPAAccountState.Error
getFreeIPAError()
Returns the freeipa error for this account state.-
Methods inherited from class org.ldaptive.auth.AccountState
getError, getErrors, getWarning, getWarnings, toString
-
-
-
-
Field Detail
-
fError
private final FreeIPAAccountState.Error fError
freeipa specific enum.
-
-
Constructor Detail
-
FreeIPAAccountState
public FreeIPAAccountState(ZonedDateTime exp, int remaining)
Creates a new freeipa account state.- Parameters:
exp
- account expirationremaining
- number of logins available
-
FreeIPAAccountState
public FreeIPAAccountState(FreeIPAAccountState.Error error)
Creates a new freeipa account state.- Parameters:
error
- containing authentication failure details
-
-
Method Detail
-
getFreeIPAError
public FreeIPAAccountState.Error getFreeIPAError()
Returns the freeipa error for this account state.- Returns:
- freeipa error
-
-