public static boolean authenticate(HttpMethod method,
HttpState state) throws UnsupportedOperationException, HttpException {
// ---------------------------------------------------------------- Methods
LOG.trace("enter Authenticator.authenticate(HttpMethod, HttpState)");
return authenticate(method, state, false);
} Deprecated! use - HttpAuthenticator#authenticate(AuthScheme, HttpMethod, HttpConnection, HttpState)
Deprecated!Add requisite authentication credentials to the given method in
the given state if possible. |
public static boolean authenticateProxy(HttpMethod method,
HttpState state) throws UnsupportedOperationException, HttpException {
LOG.trace("enter Authenticator.authenticateProxy(HttpMethod, "
+ "HttpState)");
return authenticate(method, state, true);
} Deprecated! use - HttpAuthenticator#authenticateProxy(AuthScheme, HttpMethod, HttpConnection, HttpState)
Deprecated!Add requisite proxy authentication credentials to the given
method in the given state if possible. |