public class FreeIPAAccountState extends AccountState
Modifier and Type | Class and Description |
---|---|
static class |
FreeIPAAccountState.Error
Enum to define FreeIPA errors.
|
AccountState.DefaultWarning, AccountState.Warning
Modifier and Type | Field and Description |
---|---|
private FreeIPAAccountState.Error |
fError
freeipa specific enum.
|
Constructor and Description |
---|
FreeIPAAccountState(FreeIPAAccountState.Error error)
Creates a new freeipa account state.
|
FreeIPAAccountState(ZonedDateTime exp,
int remaining)
Creates a new freeipa account state.
|
Modifier and Type | Method and Description |
---|---|
FreeIPAAccountState.Error |
getFreeIPAError()
Returns the freeipa error for this account state.
|
getError, getErrors, getWarning, getWarnings, toString
private final FreeIPAAccountState.Error fError
public FreeIPAAccountState(ZonedDateTime exp, int remaining)
exp
- account expirationremaining
- number of logins availablepublic FreeIPAAccountState(FreeIPAAccountState.Error error)
error
- containing authentication failure detailspublic FreeIPAAccountState.Error getFreeIPAError()
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.