org.apache.commons.httpclient.auth
Class HttpAuthRealm

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

public class HttpAuthRealm
extends java.lang.Object

The key used to look up authentication credentials.

Author:
Oleg Kalnichevski, Adrian Sutton

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

Constructor Detail

HttpAuthRealm

public HttpAuthRealm(java.lang.String domain,
                     java.lang.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(java.lang.Object o)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(Object)

toString

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

hashCode

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


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