Package org.apache.catalina.realm
Class JNDIRealm.User
java.lang.Object
org.apache.catalina.realm.JNDIRealm.User
- Enclosing class:
JNDIRealm
A protected class representing a User
-
Constructor Details
-
User
Constructs a new User.- Parameters:
username- the usernamedn- the distinguished namepassword- the passwordroles- the list of rolesuserRoleId- the user role ID
-
-
Method Details
-
getUserName
Get the username.- Returns:
- the username
-
getDN
Get the distinguished name.- Returns:
- the distinguished name
-
getPassword
Get the password.- Returns:
- the password
-
getRoles
Get the roles.- Returns:
- the list of roles
-
getUserRoleId
Get the user role ID.- Returns:
- the user role ID
-