Skip navigation links

Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1)

E17274-03


oracle.stellent.ridc.protocol.http
Interface AuthenticationHandler

All Known Implementing Classes:
BasicAuthHandler, FormAuthHandler, OAMSSOAuthHandler, OIMSSOAuthHandler

public interface AuthenticationHandler

This is an abstraction over different HTTP authentication methods supported by the content server e.g. Basic authentication, Form authentication, etc.


Method Summary
 IdcContext.HttpAuthScheme getAuthScheme()
           
 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

 

Method Detail

isAuthSupported

boolean isAuthSupported(RIDCHttpClient httpClient,
                        RIDCHttpMethod httpMethod)
                        throws ProtocolException
Determine if the current handler can handle the given response to the auth scheme
Parameters:
httpClient - client that was used to invoke the ping
httpMethod - method that was used to invoke the ping
Returns:
true if the handler can support the requests to the given server
Throws:
ProtocolException

getAuthScheme

IdcContext.HttpAuthScheme getAuthScheme()
Returns:
the authentication scheme associated with this handler

sendAuthenticatedRequest

int sendAuthenticatedRequest()
                             throws ProtocolException
Send the authenticated request to the Content Server
Returns:
the http status
Throws:
ProtocolException

Skip navigation links

Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1)

E17274-03


Copyright © 2008, 2011, Oracle and/or its affiliates. All rights reserved.