org.apache.commons.httpclient.auth
Class HttpAuthRealm

java.lang.Object
  |
  +--org.apache.commons.httpclient.auth.HttpAuthRealm

public class HttpAuthRealm
extends Object

The key used to look up authentication credentials.

Author:
Oleg Kalnichevski, Adrian Sutton

Constructor Summary
HttpAuthRealm(String domain, String realm)
          Creates a new HttpAuthRealm for the given domain and realm.
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpAuthRealm

public HttpAuthRealm(String domain,
                     String realm)
Creates a new HttpAuthRealm for the given domain and realm.
Parameters:
domain - the domain the credentials apply to. May be set to null if credenticals are applicable to any domain.
realm - the realm the credentials apply to. May be set to null if credenticals are applicable to any realm.
Method Detail

equals

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

toString

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

hashCode

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


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