Class GenericAuthHandler
java.lang.Object
oracle.stellent.ridc.protocol.http.auth.GenericAuthHandler
- All Implemented Interfaces:
AuthenticationHandler
An authentication handler that is capable of handling the following login methods:
- Basic authentication
- Content server login form
- OAM basic authentication
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAuthSupported(RIDCHttpClient httpClient, RIDCHttpMethod httpMethod) Determine if the current handler can handle the given response to the auth schemeintSend the authenticated request to the Content Server
-
Constructor Details
-
GenericAuthHandler
-
-
Method Details
-
getHttpProtocol
-
isAuthSupported
public boolean isAuthSupported(RIDCHttpClient httpClient, RIDCHttpMethod httpMethod) throws ProtocolException Description copied from interface:AuthenticationHandlerDetermine if the current handler can handle the given response to the auth scheme- Specified by:
isAuthSupportedin interfaceAuthenticationHandler- Parameters:
httpClient- client that was used to invoke the pinghttpMethod- method that was used to invoke the ping- Returns:
- true if the handler can support the requests to the given server
- Throws:
ProtocolException
-
getAuthScheme
- Specified by:
getAuthSchemein interfaceAuthenticationHandler- Returns:
- the authentication scheme associated with this handler
-
sendAuthenticatedRequest
Description copied from interface:AuthenticationHandlerSend the authenticated request to the Content Server- Specified by:
sendAuthenticatedRequestin interfaceAuthenticationHandler- Returns:
- the http status
- Throws:
ProtocolException
-