org.apache.commons.httpclient.auth

Class HttpAuthRealm


public class HttpAuthRealm
extends AuthScope

The key used to look up authentication credentials.
Authors:
Oleg Kalnichevski
Adrian Sutton

Field Summary

Fields inherited from class org.apache.commons.httpclient.auth.AuthScope

ANY, ANY_HOST, ANY_PORT, ANY_REALM, ANY_SCHEME

Constructor Summary

HttpAuthRealm(String domain, String realm)
Creates a new HttpAuthRealm for the given domain and realm.

Method Summary

Methods inherited from class org.apache.commons.httpclient.auth.AuthScope

equals, getHost, getPort, getRealm, getScheme, hashCode, match, toString

Constructor Details

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.

Copyright (c) 1999-2005 - Apache Software Foundation