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