public final class GenericAuthHandler extends Object implements AuthenticationHandler
| Constructor and Description |
|---|
GenericAuthHandler(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 GenericAuthHandler(IdcHttpProtocol httpProtocol)
public IdcHttpProtocol getHttpProtocol()
public boolean isAuthSupported(RIDCHttpClient httpClient, RIDCHttpMethod httpMethod) throws ProtocolException
AuthenticationHandlerisAuthSupported in interface AuthenticationHandlerhttpClient - client that was used to invoke the pinghttpMethod - method that was used to invoke the pingProtocolExceptionpublic IdcContext.HttpAuthScheme getAuthScheme()
getAuthScheme in interface AuthenticationHandler
public int sendAuthenticatedRequest()
throws ProtocolException
AuthenticationHandlersendAuthenticatedRequest in interface AuthenticationHandlerProtocolException