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. |
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 authenticationtheMethod
- the HttpClient HTTP method that will be used to connect
to the server sidetheRequest
- The request object that will be sent to the Cactus
Redirector over HTTPtheConfiguration
- The Cactus configuration so that
authentication methods can get access to Cactus configuration
properties
Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.