org.apache.cactus.client.authentication
class BasicAuthentication

java.lang.Object
  |
  +--org.apache.cactus.client.authentication.AbstractAuthentication
        |
        +--org.apache.cactus.client.authentication.BasicAuthentication
Known Advisors:
LogAspect

public class BasicAuthentication
extends AbstractAuthentication

Basic Authentication support.

Since:
1.3
Version:
$Id: BasicAuthentication.java,v 1.2 2002/04/14 10:46:25 vmassol Exp $
Author:
Vincent Massol , Jason Robertson
See Also:
AbstractAuthentication

Constructor Summary
BasicAuthentication(String theName, String thePassword)
           
 
Method Summary
 void configure(HttpURLConnection theConnection)
           Affected by: LogAspect
 
Methods inherited from class org.apache.cactus.client.authentication.AbstractAuthentication
getName, setName, setPassword
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicAuthentication

public BasicAuthentication(String theName,
                           String thePassword)
Parameters:
theName - user name of the Credential
thePassword - user password of the Credential
Method Detail

configure

public void configure(HttpURLConnection theConnection)
Description copied from class: AbstractAuthentication
Modify the HttpURLConnection passed as parameter so that it will carry authentication information.
See Also:
AbstractAuthentication#configure(HttpURLConnection)
Affected by:
around() in LogAspect.


Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.