|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--oracle.ifs.common.HttpDigestCredential
A HttpDigestCredential encapsulates a name, challenge, and response for presentation to a CredentialManager to authenticate a user.
| Field Summary | |
static int |
HTTPDIGESTCREDENTIALTYPE_RFC2069
Indicates that the credential is RFC 2069 type. |
static int |
HTTPDIGESTCREDENTIALTYPE_RFC2617
Indicates that the credential is RFC 2617 type. |
| Constructor Summary | |
HttpDigestCredential()
Constructs a HttpDigestCredential. |
|
HttpDigestCredential(java.lang.String name,
java.lang.String challenge,
java.lang.String response,
java.lang.String realm,
java.lang.String uri,
java.lang.String method)
Constructs a HttpDigestCredential. |
|
HttpDigestCredential(java.lang.String name,
java.lang.String challenge,
java.lang.String response,
java.lang.String realm,
java.lang.String uri,
java.lang.String method,
java.lang.String qop,
java.lang.String cnonce,
java.lang.String nc)
Constructs a HttpDigestCredential. |
|
| Method Summary | |
java.lang.String |
getChallenge()
Gets the challenge. |
java.lang.String |
getCnonce()
Gets the cnonce. |
java.lang.String |
getMethod()
Gets the method. |
java.lang.String |
getName()
Gets the name of the user. |
java.lang.String |
getNc()
Gets the nc. |
java.lang.String |
getQop()
Gets the qop. |
java.lang.String |
getRealm()
Gets the realm. |
java.lang.String |
getResponse()
Gets the response. |
int |
getType()
Returns the type of the HttpDigestCredential. |
java.lang.String |
getUri()
Gets the URI. |
void |
setChallenge(java.lang.String challenge)
Sets the challenge. |
void |
setCnonce(java.lang.String cnonce)
Sets the cnonce. |
void |
setMethod(java.lang.String method)
Sets the Method. |
void |
setName(java.lang.String name)
Sets the name of the user. |
void |
setNc(java.lang.String nc)
Sets the nc. |
void |
setQop(java.lang.String qop)
Sets the Qop. |
void |
setRealm(java.lang.String realm)
Sets the realm. |
void |
setResponse(java.lang.String response)
Sets the response. |
void |
setUri(java.lang.String uri)
Sets the URI. |
| Field Detail |
public static final int HTTPDIGESTCREDENTIALTYPE_RFC2069
public static final int HTTPDIGESTCREDENTIALTYPE_RFC2617
| Constructor Detail |
public HttpDigestCredential()
throws IfsException
IfsException - if the operation fails
public HttpDigestCredential(java.lang.String name,
java.lang.String challenge,
java.lang.String response,
java.lang.String realm,
java.lang.String uri,
java.lang.String method,
java.lang.String qop,
java.lang.String cnonce,
java.lang.String nc)
throws IfsException
name - the name of the userchallenge - the challengeresponse - the 16-byte responserealm - the realmuri - the URImethod - the methodqop - the qopcnonce - the cnoncenc - the nc valueIfsException - if the operation fails
public HttpDigestCredential(java.lang.String name,
java.lang.String challenge,
java.lang.String response,
java.lang.String realm,
java.lang.String uri,
java.lang.String method)
throws IfsException
name - the name of the userchallenge - the challengeresponse - the 16-byte responserealm - the realmuri - the URImethod - the methodIfsException - if the operation fails| Method Detail |
public java.lang.String getName()
throws IfsException
getName in interface CredentialIfsException - if the operation fails
public void setName(java.lang.String name)
throws IfsException
name - the name of the userIfsException - if the operation fails
public java.lang.String getChallenge()
throws IfsException
IfsException - if the operation fails
public void setChallenge(java.lang.String challenge)
throws IfsException
challenge - the challengeIfsException - if the operation fails
public java.lang.String getResponse()
throws IfsException
IfsException - if the operation fails
public void setResponse(java.lang.String response)
throws IfsException
response - 16 bytes rep as a 32 Hex stringIfsException - if the operation fails
public java.lang.String getRealm()
throws IfsException
IfsException - if the operation fails
public void setRealm(java.lang.String realm)
throws IfsException
realm - the realm of the userIfsException - if the operation fails
public java.lang.String getUri()
throws IfsException
IfsException - if the operation fails
public void setUri(java.lang.String uri)
throws IfsException
uri - the URI of the requestIfsException - if the operation fails
public java.lang.String getMethod()
throws IfsException
IfsException - if the operation fails
public void setMethod(java.lang.String method)
throws IfsException
uri - the Method of the requestIfsException - if the operation fails
public java.lang.String getQop()
throws IfsException
IfsException - if the operation fails
public void setQop(java.lang.String qop)
throws IfsException
nonce - the Qop of the requestIfsException - if the operation fails
public java.lang.String getCnonce()
throws IfsException
IfsException - if the operation fails
public void setCnonce(java.lang.String cnonce)
throws IfsException
nonce - the cnonce of the requestIfsException - if the operation fails
public java.lang.String getNc()
throws IfsException
IfsException - if the operation fails
public void setNc(java.lang.String nc)
throws IfsException
nc - the nonce of the requestIfsException - if the operation failspublic int getType()
IfsException - if the operation fails
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||