public class BasicAuthHandler extends Object implements AuthenticationHandler
| Constructor and Description |
|---|
BasicAuthHandler(IdcHttpProtocol httpProtocol) |
| Modifier and Type | Method and Description |
|---|---|
IdcContext.HttpAuthScheme |
getAuthScheme() |
IdcHttpProtocol |
getHttpProtocol() |
boolean |
isAuthSupported(RIDCHttpClient httpClient, RIDCHttpMethod httpMethod)
Determine if the current handler can handle the given response to the auth scheme
|
int |
sendAuthenticatedRequest()
Send the authenticated request to the Content Server
|
public BasicAuthHandler(IdcHttpProtocol httpProtocol)
public IdcHttpProtocol getHttpProtocol()
public boolean isAuthSupported(RIDCHttpClient httpClient, RIDCHttpMethod httpMethod)
isAuthSupported in interface AuthenticationHandlerhttpClient - the http client that was used to invoke the pinghttpMethod - the http method that was used to invoke the pingpublic IdcContext.HttpAuthScheme getAuthScheme()
getAuthScheme in interface AuthenticationHandler
public int sendAuthenticatedRequest()
throws ProtocolException
sendAuthenticatedRequest in interface AuthenticationHandlerProtocolException