| java.lang.Object org.restlet.data.ChallengeResponse
ChallengeResponse | final public class ChallengeResponse (Code) | | Authentication response sent by client to an origin server.
author: Jerome Louvel (contact@noelios.com) |
ChallengeResponse | public ChallengeResponse(ChallengeScheme scheme, String credentials)(Code) | | Constructor.
Parameters: scheme - The challenge scheme. Parameters: credentials - The raw credentials for custom challenge schemes. |
ChallengeResponse | public ChallengeResponse(ChallengeScheme scheme, String identifier, String secret)(Code) | | Constructor.
Parameters: scheme - The challenge scheme. Parameters: identifier - The user identifier, such as a login name or an access key. Parameters: secret - The user secret, such as a password or a secret key. |
ChallengeResponse | public ChallengeResponse(ChallengeScheme scheme, String identifier, char[] secret)(Code) | | Constructor.
Parameters: scheme - The challenge scheme. Parameters: identifier - The user identifier, such as a login name or an access key. Parameters: secret - The user secret, such as a password or a secret key. |
getCredentials | public String getCredentials()(Code) | | Returns the credentials.
The credentials. |
getIdentifier | public String getIdentifier()(Code) | | Returns the user identifier, such as a login name or an access key.
The user identifier, such as a login name or an access key. |
getSecret | public char[] getSecret()(Code) | | Returns the user secret, such as a password or a secret key.
The user secret, such as a password or a secret key. |
hashCode | public int hashCode()(Code) | |
|
setCredentials | public void setCredentials(String credentials)(Code) | | Sets the credentials.
Parameters: credentials - The credentials. |
setIdentifier | public void setIdentifier(String identifier)(Code) | | Sets the user identifier, such as a login name or an access key.
Parameters: identifier - The user identifier, such as a login name or an access key. |
setScheme | public void setScheme(ChallengeScheme scheme)(Code) | | Sets the scheme used.
Parameters: scheme - The scheme used. |
setSecret | public void setSecret(String secret)(Code) | | Sets the user secret, such as a password or a secret key.
Parameters: secret - The user secret, such as a password or a secret key. |
setSecret | public void setSecret(char[] secret)(Code) | | Sets the user secret, such as a password or a secret key.
Parameters: secret - The user secret, such as a password or a secret key. |
|
|