|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.data.AuthenticationInfo
public class AuthenticationInfo
Preemptive authentication information. Sent by an origin server to a client
after a successful digest authentication attempt.
Note that when used with HTTP connectors, this class maps to the
"Authentication-Info" header.
Constructor Summary | |
---|---|
AuthenticationInfo(String nextNonce,
int nonceCount,
String cnonce,
String quality,
String responseDigest)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getClientNonce()
Returns the client nonce. |
String |
getNextServerNonce()
Returns the next server nonce. |
int |
getNonceCount()
Returns the nonce-count value. |
String |
getQuality()
Returns the quality of protection. |
String |
getResponseDigest()
Returns the optional response digest for mutual authentication. |
int |
hashCode()
|
void |
setClientNonce(String clientNonce)
Sets the client nonce. |
void |
setNextServerNonce(String nextNonce)
Sets the next server nonce. |
void |
setNonceCount(int nonceCount)
Sets the nonce-count value. |
void |
setQuality(String qop)
Sets the quality of protection. |
void |
setResponseDigest(String responseDigest)
Sets the optional response digest for mutual authentication. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthenticationInfo(String nextNonce, int nonceCount, String cnonce, String quality, String responseDigest)
nextNonce
- The next nonce value.nonceCount
- The nonce-count value.cnonce
- The cnonce value.quality
- The quality of protection.responseDigest
- The optional response digest for mutual authentication.Method Detail |
---|
public final boolean equals(Object obj)
equals
in class Object
public String getClientNonce()
public String getNextServerNonce()
public int getNonceCount()
public String getQuality()
ChallengeMessage.QUALITY_AUTHENTICATION
for authentication or
ChallengeMessage.QUALITY_AUTHENTICATION_INTEGRITY
for
authentication with integrity protection.
public String getResponseDigest()
public int hashCode()
hashCode
in class Object
public void setClientNonce(String clientNonce)
clientNonce
- The client nonce.public void setNextServerNonce(String nextNonce)
nextNonce
- The next nonce.public void setNonceCount(int nonceCount)
nonceCount
- The nonceCount value.public void setQuality(String qop)
ChallengeMessage.QUALITY_AUTHENTICATION
for authentication or
ChallengeMessage.QUALITY_AUTHENTICATION_INTEGRITY
for
authentication with integrity protection.
qop
- The quality of protection.public void setResponseDigest(String responseDigest)
responseDigest
- The response digest.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |