|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.auth.AuthenticationRequest
public class AuthenticationRequest
Contains the data required to perform an ldap authentication.
| Constructor Summary | |
|---|---|
AuthenticationRequest()
Default constructor. |
|
AuthenticationRequest(String id,
Credential c)
Creates a new authentication request. |
|
AuthenticationRequest(String id,
Credential c,
String... attrs)
Creates a new authentication request. |
|
| Method Summary | |
|---|---|
Credential |
getCredential()
Returns the credential. |
String[] |
getReturnAttributes()
Returns the return attributes. |
String |
getUser()
Returns the user. |
void |
setCredential(Credential c)
Sets the credential. |
void |
setReturnAttributes(String... attrs)
Sets the return attributes. |
void |
setUser(String id)
Sets the user. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AuthenticationRequest()
public AuthenticationRequest(String id,
Credential c)
id - that identifies the userc - credential to authenticate the user
public AuthenticationRequest(String id,
Credential c,
String... attrs)
id - that identifies the userc - credential to authenticate the userattrs - attributes to return| Method Detail |
|---|
public String getUser()
public void setUser(String id)
id - of the userpublic Credential getCredential()
public void setCredential(Credential c)
c - user credentialpublic String[] getReturnAttributes()
public void setReturnAttributes(String... attrs)
attrs - return attributespublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||