org.apache.commons.httpclient.auth
Class HttpAuthRealm

java.lang.Object
  extended byorg.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)
See Also:
Object.equals(Object)

toString

public String toString()
See Also:
Object.toString()

hashCode

public int hashCode()
See Also:
Object.hashCode()


Copyright (c) 1999-2003 - Apache Software Foundation