public class HttpAuthenticator extends Object
Modifier and Type | Field and Description |
---|---|
private org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
HttpAuthenticator() |
HttpAuthenticator(org.apache.commons.logging.Log log) |
Modifier and Type | Method and Description |
---|---|
private Header |
doAuth(AuthScheme authScheme,
Credentials creds,
HttpRequest request,
HttpContext context) |
private void |
ensureAuthScheme(AuthScheme authScheme) |
void |
generateAuthResponse(HttpRequest request,
AuthState authState,
HttpContext context) |
boolean |
handleAuthChallenge(HttpHost host,
HttpResponse response,
AuthenticationStrategy authStrategy,
AuthState authState,
HttpContext context) |
boolean |
isAuthenticationRequested(HttpHost host,
HttpResponse response,
AuthenticationStrategy authStrategy,
AuthState authState,
HttpContext context) |
private final org.apache.commons.logging.Log log
public HttpAuthenticator(org.apache.commons.logging.Log log)
public HttpAuthenticator()
public boolean isAuthenticationRequested(HttpHost host, HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, HttpContext context)
public boolean handleAuthChallenge(HttpHost host, HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, HttpContext context)
public void generateAuthResponse(HttpRequest request, AuthState authState, HttpContext context) throws HttpException, IOException
HttpException
IOException
private void ensureAuthScheme(AuthScheme authScheme)
private Header doAuth(AuthScheme authScheme, Credentials creds, HttpRequest request, HttpContext context) throws AuthenticationException
AuthenticationException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses