public class DigestAuthSupplier extends Object implements HttpAuthSupplier
Constructor and Description |
---|
DigestAuthSupplier() |
Modifier and Type | Method and Description |
---|---|
String |
createCnonce() |
String |
getAuthorization(AuthorizationPolicy authPolicy,
URI currentURI,
Message message,
String fullHeader)
The HTTPConduit makes a call to this method to obtain
an Authentication token for http authentication.
|
boolean |
requiresRequestCaching()
If the supplier requires the request to be cached to be resent, return true
|
public boolean requiresRequestCaching()
requiresRequestCaching
in interface HttpAuthSupplier
public String getAuthorization(AuthorizationPolicy authPolicy, URI currentURI, Message message, String fullHeader)
HttpAuthSupplier
getAuthorization
in interface HttpAuthSupplier
authPolicy
- credentials for the authenticationmessage
- The CXF MessagefullHeader
- The full WWW-Authenticate header or null if preemptive authpublic String createCnonce() throws UnsupportedEncodingException
UnsupportedEncodingException
Apache CXF