Skip navigation links
A C D G H I N O P Q R U 

A

algorithm(String) - Method in class org.barebonesdigest.DigestChallengeResponse
Sets the algorithm directive, which must be the same as the algorithm directive of the challenge.

C

challenge(DigestChallenge) - Method in class org.barebonesdigest.DigestChallengeResponse
Sets the values of the realm, nonce, opaque, and algorithm directives based on a challenge.
clientNonce(String) - Method in class org.barebonesdigest.DigestChallengeResponse
Sets the cnonce directive, which is a random string generated by the client that will be included in the challenge response hash.

D

DigestChallenge - Class in org.barebonesdigest
Represents a HTTP digest challenge, as sent from the server to the client in a WWW-Authenticate HTTP header.
DigestChallengeResponse - Class in org.barebonesdigest
Describes the contents of an Authorization HTTP request header.
DigestChallengeResponse() - Constructor for class org.barebonesdigest.DigestChallengeResponse
Creates an empty challenge response.
digestUri(String) - Method in class org.barebonesdigest.DigestChallengeResponse
Sets the digest-uri directive, which must be exactly the same as the Request-URI of the Request-Line of the HTTP request.

G

getAlgorithm() - Method in class org.barebonesdigest.DigestChallenge
Returns the value of the algorithm directive if present, or its default value "MD5" if not present.
getAlgorithm() - Method in class org.barebonesdigest.DigestChallengeResponse
Returns the value of the algorithm directive.
getClientNonce() - Method in class org.barebonesdigest.DigestChallengeResponse
Returns the value of the cnonce directive.
getDigestUri() - Method in class org.barebonesdigest.DigestChallengeResponse
Returns the value of the digest-uri directive.
getHeaderValue() - Method in class org.barebonesdigest.DigestChallengeResponse
Returns the credentials, that is, the string to set in the Authorization HTTP request header.
getNonce() - Method in class org.barebonesdigest.DigestChallenge
Returns the unquoted version of the mandatory nonce directive.
getNonce() - Method in class org.barebonesdigest.DigestChallengeResponse
Returns the unquoted value of the nonce directive
getNonceCount() - Method in class org.barebonesdigest.DigestChallengeResponse
Returns the integer representation of the nonce-count directive.
getOpaque() - Method in class org.barebonesdigest.DigestChallenge
Returns the unquoted version of the opaque directive, or null if the directive is not present.
getOpaque() - Method in class org.barebonesdigest.DigestChallengeResponse
Returns the the unquoted value of the opaque directive, or null.
getPassword() - Method in class org.barebonesdigest.DigestChallengeResponse
Returns the password to use for authentication.
getQuotedNonce() - Method in class org.barebonesdigest.DigestChallenge
Returns the quoted version of the mandatory nonce directive, exactly as it appears in the challenge.
getQuotedNonce() - Method in class org.barebonesdigest.DigestChallengeResponse
Returns the quoted value of the nonce directive.
getQuotedOpaque() - Method in class org.barebonesdigest.DigestChallenge
Returns the quoted version of the opaque directive exactly as it appears in the challenge, or null if the directive is not present.
getQuotedOpaque() - Method in class org.barebonesdigest.DigestChallengeResponse
Returns the the quoted value of the opaque directive, or null.
getQuotedRealm() - Method in class org.barebonesdigest.DigestChallenge
Returns the quoted version of the mandatory realm directive, exactly as it appears in the challenge.
getQuotedRealm() - Method in class org.barebonesdigest.DigestChallengeResponse
Returns the quoted value of the realm directive.
getRealm() - Method in class org.barebonesdigest.DigestChallenge
Returns the unquoted version of the mandatory realm directive.
getRealm() - Method in class org.barebonesdigest.DigestChallengeResponse
Returns the unquoted value of the realm directive.
getRequestMethod() - Method in class org.barebonesdigest.DigestChallengeResponse
Returns the HTTP method of the request.
getUsername() - Method in class org.barebonesdigest.DigestChallengeResponse
Returns the username to use for authentication.

H

HTTP_HEADER_AUTHORIZATION - Static variable in class org.barebonesdigest.DigestChallengeResponse
The name of the HTTP request header ("Authorization").
HTTP_HEADER_WWW_AUTHENTICATE - Static variable in class org.barebonesdigest.DigestChallenge
Name of the HTTP response header containing the challenge.

I

incrementNonceCount() - Method in class org.barebonesdigest.DigestChallengeResponse
Increments the value of the nonce-count by one.
isStale() - Method in class org.barebonesdigest.DigestChallenge
Returns a boolean representation of the stale directive.

N

nonce(String) - Method in class org.barebonesdigest.DigestChallengeResponse
Sets the nonce directive, which must be the same as the nonce directive of the challenge.
nonceCount(int) - Method in class org.barebonesdigest.DigestChallengeResponse
Sets the integer representation of the nonce-count directive, which indicates how many times this a challenge response with this nonce has been used.

O

opaque(String) - Method in class org.barebonesdigest.DigestChallengeResponse
Sets the opaque directive, which must be the same as the opaque directive of the challenge.
org.barebonesdigest - package org.barebonesdigest
 

P

parse(String) - Static method in class org.barebonesdigest.DigestChallenge
Parses a HTTP Digest challenge.
password(String) - Method in class org.barebonesdigest.DigestChallengeResponse
Sets the password to use for authentication.

Q

quotedNonce(String) - Method in class org.barebonesdigest.DigestChallengeResponse
Sets the nonce directive, which must be the same as the nonce directive of the challenge.
quotedOpaque(String) - Method in class org.barebonesdigest.DigestChallengeResponse
Sets the opaque directive, which must be the same as the opaque directive of the challenge.
quotedRealm(String) - Method in class org.barebonesdigest.DigestChallengeResponse
Sets the realm directive, which must be the same as the realm directive of the challenge.

R

realm(String) - Method in class org.barebonesdigest.DigestChallengeResponse
Sets the realm directive, which must be the same as the realm directive of the challenge.
requestMethod(String) - Method in class org.barebonesdigest.DigestChallengeResponse
Sets the HTTP method of the request (GET, POST, etc).
resetNonceCount() - Method in class org.barebonesdigest.DigestChallengeResponse
Sets the value of the nonce-count to one.
responseTo(DigestChallenge) - Static method in class org.barebonesdigest.DigestChallengeResponse
Creates a digest challenge response, setting the values of the realm, nonce, opaque, and algorithm directives based on a challenge.

U

username(String) - Method in class org.barebonesdigest.DigestChallengeResponse
Sets the username to use for authentication.
A C D G H I N O P Q R U 
Skip navigation links