public class SpnegoAuthSupplier extends Object implements HttpAuthSupplier
Constructor and Description |
---|
SpnegoAuthSupplier() |
Modifier and Type | Method and Description |
---|---|
String |
getAuthorization(AuthorizationPolicy authPolicy,
URL currentURL,
Message message,
String fullHeader)
The HTTPConduit makes a call to this method to obtain
an Authentication token for http authentication.
|
static CallbackHandler |
getUsernamePasswordHandler(String username,
String password) |
boolean |
requiresRequestCaching()
If the supplier requires the request to be cached to be resent, return true
|
public boolean requiresRequestCaching()
HttpAuthSupplier
requiresRequestCaching
in interface HttpAuthSupplier
public String getAuthorization(AuthorizationPolicy authPolicy, URL currentURL, Message message, String fullHeader)
HttpAuthSupplier
getAuthorization
in interface HttpAuthSupplier
authPolicy
- credentials for the authenticationcurrentURL
- The URL we want to connect tomessage
- The CXF MessagefullHeader
- The full WWW-Authenticate header or null if preemptive authpublic static CallbackHandler getUsernamePasswordHandler(String username, String password)
Apache CXF