org.apache.commons.httpclient.auth
Class AuthSchemeBase

java.lang.Object
  |
  +--org.apache.commons.httpclient.auth.AuthSchemeBase
All Implemented Interfaces:
AuthScheme
Direct Known Subclasses:
NTLMScheme, RFC2617Scheme

public abstract class AuthSchemeBase
extends Object
implements AuthScheme

Abstract authentication scheme class that implements AuthScheme interface and provides a default contstructor.

Author:
Oleg Kalnichevski

Constructor Summary
AuthSchemeBase(String challenge)
          Constructor for an abstract authetication schemes.
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.commons.httpclient.auth.AuthScheme
authenticate, getID, getParameter, getRealm, getSchemeName
 

Constructor Detail

AuthSchemeBase

public AuthSchemeBase(String challenge)
               throws MalformedChallengeException
Constructor for an abstract authetication schemes.
Parameters:
challenge - authentication challenge
Throws:
MalformedChallengeException - is thrown if the authentication challenge is malformed
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(Object)

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.