public final class DefaultBasicAuthSupplier extends Object implements HttpAuthSupplier
| Constructor and Description |
|---|
DefaultBasicAuthSupplier() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
static String |
getBasicAuthHeader(String userName,
String passwd) |
boolean |
requiresRequestCaching()
If the supplier requires the request to be cached to be resent, return true
|
public boolean requiresRequestCaching()
HttpAuthSupplierrequiresRequestCaching in interface HttpAuthSupplierpublic String getAuthorization(AuthorizationPolicy authPolicy, URI currentURI, Message message, String fullHeader)
HttpAuthSuppliergetAuthorization in interface HttpAuthSupplierauthPolicy - credentials for the authenticationmessage - The CXF MessagefullHeader - The full WWW-Authenticate header or null if preemptive authApache CXF