|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Dictionary | +--java.util.Hashtable | +--java.util.Properties | +--com.mortbay.HTTP.Handler.BasicAuthRealm
Basic Authentication realm.
Instances of this class represent a named basic authentication realm. BasicAuthRealm extends a Hashtable which maps usernames to passwords.
BasicAuthHandler
, Serialized FormFields inherited from class java.util.Properties |
defaults |
Constructor Summary | |
BasicAuthRealm(java.lang.String name)
Construct empty realm |
|
BasicAuthRealm(java.lang.String name,
java.util.Properties properties)
Construct realm from properties |
|
BasicAuthRealm(java.lang.String name,
java.lang.String filename)
Construct realm from property file |
Method Summary | |
java.lang.String |
name()
|
Methods inherited from class java.util.Properties |
getProperty,
getProperty,
list,
list,
load,
propertyNames,
save,
setProperty,
store |
Methods inherited from class java.util.Hashtable |
clear,
clone,
contains,
containsKey,
containsValue,
elements,
entrySet,
equals,
get,
hashCode,
isEmpty,
keys,
keySet,
put,
putAll,
rehash,
remove,
size,
toString,
values |
Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public BasicAuthRealm(java.lang.String name, java.util.Properties properties) throws java.io.IOException
name
- The name of the realmproperties
- Map from username to passwordpublic BasicAuthRealm(java.lang.String name, java.lang.String filename) throws java.io.IOException
name
- The name of the realmpublic BasicAuthRealm(java.lang.String name)
name
- The name of the realmMethod Detail |
public java.lang.String name()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |