public class AuthenticationRequest
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private Credential |
credential
User credential.
|
private java.lang.String[] |
retAttrs
User attributes to return.
|
private java.lang.String |
user
User identifier.
|
| Constructor and Description |
|---|
AuthenticationRequest()
Default constructor.
|
AuthenticationRequest(java.lang.String id,
Credential c)
Creates a new authentication request.
|
AuthenticationRequest(java.lang.String id,
Credential c,
java.lang.String... attrs)
Creates a new authentication request.
|
| Modifier and Type | Method and Description |
|---|---|
Credential |
getCredential()
Returns the credential.
|
java.lang.String[] |
getReturnAttributes()
Returns the return attributes.
|
java.lang.String |
getUser()
Returns the user.
|
void |
setCredential(Credential c)
Sets the credential.
|
void |
setReturnAttributes(java.lang.String... attrs)
Sets the return attributes.
|
void |
setUser(java.lang.String id)
Sets the user.
|
java.lang.String |
toString() |
private java.lang.String user
private Credential credential
private java.lang.String[] retAttrs
public AuthenticationRequest()
public AuthenticationRequest(java.lang.String id,
Credential c)
id - that identifies the userc - credential to authenticate the userpublic AuthenticationRequest(java.lang.String id,
Credential c,
java.lang.String... attrs)
id - that identifies the userc - credential to authenticate the userattrs - attributes to returnpublic java.lang.String getUser()
public void setUser(java.lang.String id)
id - of the userpublic Credential getCredential()
public void setCredential(Credential c)
c - user credentialpublic java.lang.String[] getReturnAttributes()
public void setReturnAttributes(java.lang.String... attrs)
attrs - return attributespublic java.lang.String toString()
toString in class java.lang.Object