Class FileRealmUser
- java.lang.Object
-
- com.sun.enterprise.security.auth.realm.file.FileRealmUser
-
-
Constructor Summary
Constructors Constructor Description FileRealmUser(FileRealmStorageManager.User user, String realm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetAttribute(String key)Return the requested attribute for the user.Enumeration<String>getAttributeNames()Return the names of the supported attributes for this user.String[]getGroups()StringgetName()RealmgetRealm()Returns the realm with which this user is associated
-
-
-
Constructor Detail
-
FileRealmUser
public FileRealmUser(FileRealmStorageManager.User user, String realm)
-
-
Method Detail
-
getGroups
public String[] getGroups()
-
getRealm
public Realm getRealm() throws NoSuchRealmException
Returns the realm with which this user is associated- Specified by:
getRealmin interfaceUser- Returns:
- Realm name.
- Throws:
NoSuchRealmException- if the realm associated this user no longer exist
-
getAttribute
public Object getAttribute(String key)
Return the requested attribute for the user.Not really needed.
- Specified by:
getAttributein interfaceUser- Parameters:
key- string identifies the attribute.- Returns:
- value of that attribute, or null if no value has been defined
-
getAttributeNames
public Enumeration<String> getAttributeNames()
Return the names of the supported attributes for this user.Not really needed.
- Specified by:
getAttributeNamesin interfaceUser
-
-