|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.webdav.internal.authentication.AuthenticationInfo
public class AuthenticationInfo
Parses the HTTP "Authentication-Info" header field. The header field
has the following form:
auth-info = 1#(nextnonce | [ message-qop ]
| [ response-auth ] | [ cnonce ]
| [ nonce-count ] )
nextnonce = "nextnonce" "=" nonce-value
nonce-value = quoted-string
message-qop = "qop" "=" qop-value
qop-value = "auth" | "auth-int" | token
response-auth = "rspauth" "=" response-digest
response-digest = <"> *LHEX <">
cnonce = "cnonce" "=" cnonce-value
cnonce-value = nonce-value
nonce-count = "nc" "=" nc-value
nc-value = 8LHEX
An auth-info may look like this:
Authentication-Info:
nextnonce="dcd98b7102dd2f0e8b11d0f600bfb0c093",
qop="auth",
rspauth="5ccc069c403ebaf9f0171e9517f40e41",
cnonce="0a4f113b",
nc=00000001
Constructor Summary | |
---|---|
AuthenticationInfo(String authInfo)
Parses the given authentication info. |
Method Summary | |
---|---|
String |
getCNonce()
Returns the value of the cnonce parameter, or null if
the parameter does not exist. |
String |
getMessageQop()
Returns the value of the qop parameter, or null if
the parameter does not exist. |
String |
getNextNonce()
Returns the value of the nextnonce parameter, which must exist. |
String |
getNonceCount()
Returns the value of the nc parameter, or null if
the parameter does not exist. |
String |
getResponseAuth()
Returns the value of the rspauth parameter, or null if
the parameter does not exist. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthenticationInfo(String authInfo) throws ParserException
authInfo
-
ParserException
- if the info is malformedMethod Detail |
---|
public String getCNonce()
null
if
the parameter does not exist.
public String getMessageQop()
null
if
the parameter does not exist.
public String getNextNonce()
public String getNonceCount()
null
if
the parameter does not exist.
public String getResponseAuth()
null
if
the parameter does not exist.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |