|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cactus.client.authentication.AbstractAuthentication
org.apache.cactus.client.authentication.BasicAuthentication
public class BasicAuthentication
Basic Authentication support.
AbstractAuthentication
Constructor Summary | |
---|---|
BasicAuthentication(java.lang.String theName,
java.lang.String thePassword)
|
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. |
Methods inherited from class org.apache.cactus.client.authentication.AbstractAuthentication |
---|
getName, getPassword, setName, setPassword |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicAuthentication(java.lang.String theName, java.lang.String thePassword)
theName
- user name of the CredentialthePassword
- user password of the CredentialMethod Detail |
---|
public void configure(org.apache.commons.httpclient.HttpState theState, org.apache.commons.httpclient.HttpMethod theMethod, WebRequest theRequest, Configuration theConfiguration)
Authentication
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
propertiesAuthentication.configure(org.apache.commons.httpclient.HttpState, org.apache.commons.httpclient.HttpMethod, org.apache.cactus.WebRequest, org.apache.cactus.internal.configuration.Configuration)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |