public class AuthenticationRequest extends Object
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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() |
public AuthenticationRequest()
public AuthenticationRequest(String id, Credential c)
id
- that identifies the userc
- credential to authenticate the userpublic AuthenticationRequest(String id, Credential c, String... attrs)
id
- that identifies the userc
- credential to authenticate the userattrs
- attributes to returnpublic 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 attributesCopyright © 2021. All rights reserved.