Class FileRealmUser
java.lang.Object
com.sun.enterprise.security.auth.realm.file.FileRealmUser
Represents a FileRealm user.
-
Constructor Summary
ConstructorDescriptionFileRealmUser
(org.glassfish.security.common.FileRealmHelper.User user, String realm) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String key) Return the requested attribute for the user.Return the names of the supported attributes for this user.String[]
getName()
getRealm()
Returns the realm with which this user is associated
-
Constructor Details
-
FileRealmUser
Constructor.
-
-
Method Details
-
getGroups
-
getRealm
Returns the realm with which this user is associated- Specified by:
getRealm
in interfaceUser
- Returns:
- Realm name.
- Throws:
NoSuchRealmException
- if the realm associated this user no longer exist
-
getAttribute
Return the requested attribute for the user.Not really needed.
- Specified by:
getAttribute
in interfaceUser
- Parameters:
key
- string identifies the attribute.- Returns:
- value of that attribute, or null if no value has been defined
-
getAttributeNames
Return the names of the supported attributes for this user.Not really needed.
- Specified by:
getAttributeNames
in interfaceUser
-
getName
-