|
||||||||||
| 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. |
|
AuthenticationRequest(User u,
Credential c)
Creates a new authentication request. |
|
AuthenticationRequest(User u,
Credential c,
String... attrs)
Creates a new authentication request. |
|
| Method Summary | |
|---|---|
RequestControl[] |
getControls()
Returns the controls. |
Credential |
getCredential()
Returns the credential. |
String[] |
getReturnAttributes()
Returns the return attributes. |
String |
getUser()
Returns the user. |
User |
getUserEx()
Returns the user. |
static AuthenticationRequest |
newAuthenticationRequest(AuthenticationRequest request)
Returns an authentication request initialized with the supplied request. |
void |
setControls(RequestControl... c)
Sets the controls. |
void |
setCredential(Credential c)
Sets the credential. |
void |
setReturnAttributes(String... attrs)
Sets the return attributes. |
void |
setUser(String id)
Sets the user. |
void |
setUserEx(User u)
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(User u,
Credential c)
u - 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
public AuthenticationRequest(User u,
Credential c,
String... attrs)
u - that identifies the userc - credential to authenticate the userattrs - attributes to return| Method Detail |
|---|
public String getUser()
public User getUserEx()
public void setUser(String id)
id - of the userpublic void setUserEx(User u)
u - user to authenticatepublic Credential getCredential()
public void setCredential(Credential c)
c - user credentialpublic String[] getReturnAttributes()
public void setReturnAttributes(String... attrs)
attrs - return attributespublic RequestControl[] getControls()
public void setControls(RequestControl... c)
c - controls to setpublic static AuthenticationRequest newAuthenticationRequest(AuthenticationRequest request)
request - authentication request to read properties from
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||