org.apache.cactus.client.authentication
Interface Authentication

All Known Implementing Classes:
AbstractAuthentication, BasicAuthentication, FormAuthentication

public interface Authentication

Interface for different authentication modules. An authentication class is invoked on the client side to perform the actual authentication, for example by modifying the request to includes credentials.

Since:
1.5
Version:
$Id: Authentication.java 238991 2004-05-22 11:34:50Z vmassol $

Method Summary
 void configure(org.apache.commons.httpclient.HttpState theState, org.apache.commons.httpclient.HttpMethod theMethod, WebRequest theRequest, Configuration theConfiguration)
          Modifies the request so that it will carry authentication information.
 

Method Detail

configure

void configure(org.apache.commons.httpclient.HttpState theState,
               org.apache.commons.httpclient.HttpMethod theMethod,
               WebRequest theRequest,
               Configuration theConfiguration)
Modifies the request so that it will carry authentication information.

Parameters:
theState - The HttpClient state object that can be used to ask HttpClient to set up authentication
theMethod - the HttpClient HTTP method that will be used to connect to the server side
theRequest - The request object that will be sent to the Cactus Redirector over HTTP
theConfiguration - The Cactus configuration so that authentication methods can get access to Cactus configuration properties


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.