|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.auth.AccountState
public class AccountState
Represents the state of an LDAP account based account policies for that LDAP. Note that only warning(s) or error(s) may be set, not both.
| Nested Class Summary | |
|---|---|
static class |
AccountState.DefaultWarning
Default warning implementation. |
static interface |
AccountState.Error
Contains error information for an account state. |
static interface |
AccountState.Warning
Contains warning information for an account state. |
| Constructor Summary | |
|---|---|
AccountState(AccountState.Error... errors)
Creates a new account state. |
|
AccountState(AccountState.Warning... warnings)
Creates a new account state. |
|
| Method Summary | |
|---|---|
AccountState.Error |
getError()
Returns the first account state error or null if no errors exist. |
AccountState.Error[] |
getErrors()
Returns the account state errors. |
AccountState.Warning |
getWarning()
Returns the first account state warning or null if no warnings exist. |
AccountState.Warning[] |
getWarnings()
Returns the account state warnings. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AccountState(AccountState.Warning... warnings)
warnings - associated with the accountpublic AccountState(AccountState.Error... errors)
errors - associated with the account| Method Detail |
|---|
public AccountState.Warning[] getWarnings()
public AccountState.Warning getWarning()
public AccountState.Error[] getErrors()
public AccountState.Error getError()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||