|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.Response<Boolean>
org.ldaptive.auth.AuthenticationResponse
public class AuthenticationResponse
Response object for authenticator.
| Constructor Summary | |
|---|---|
AuthenticationResponse(AuthenticationResultCode authRc,
ResultCode rc,
LdapEntry entry)
Creates a new authentication response. |
|
AuthenticationResponse(AuthenticationResultCode authRc,
ResultCode rc,
LdapEntry entry,
String msg)
Creates a new authentication response. |
|
AuthenticationResponse(AuthenticationResultCode authRc,
ResultCode rc,
LdapEntry entry,
String msg,
ResponseControl[] controls,
int msgId)
Creates a new authentication response. |
|
| Method Summary | |
|---|---|
AccountState |
getAccountState()
Returns the account state associated with the authenticated user. |
AuthenticationResultCode |
getAuthenticationResultCode()
Returns the result code associated with the authentication operation. |
LdapEntry |
getLdapEntry()
Returns the ldap entry of the authenticated user. |
void |
setAccountState(AccountState state)
Sets the account state for the authenticated user. |
String |
toString()
|
| Methods inherited from class org.ldaptive.Response |
|---|
getControl, getControls, getMatchedDn, getMessage, getMessageId, getReferralURLs, getResult, getResultCode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AuthenticationResponse(AuthenticationResultCode authRc,
ResultCode rc,
LdapEntry entry)
authRc - authentication result coderc - result code from the underlying ldap operationentry - of the authenticated user
public AuthenticationResponse(AuthenticationResultCode authRc,
ResultCode rc,
LdapEntry entry,
String msg)
authRc - authentication result coderc - result code from the underlying ldap operationentry - of the authenticated usermsg - authentication message
public AuthenticationResponse(AuthenticationResultCode authRc,
ResultCode rc,
LdapEntry entry,
String msg,
ResponseControl[] controls,
int msgId)
authRc - authentication result coderc - result code from the underlying ldap operationentry - of the authenticated usermsg - authentication messagecontrols - response controls from the underlying ldap operationmsgId - message id from the underlying ldap operation| Method Detail |
|---|
public AuthenticationResultCode getAuthenticationResultCode()
public LdapEntry getLdapEntry()
public AccountState getAccountState()
public void setAccountState(AccountState state)
state - for this userpublic String toString()
toString in class Response<Boolean>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||