Package org.apache.catalina.realm
Class JNDIRealm.User
- java.lang.Object
-
- org.apache.catalina.realm.JNDIRealm.User
-
- Enclosing class:
- JNDIRealm
protected static class JNDIRealm.User extends java.lang.ObjectA protected class representing a User
-
-
Constructor Summary
Constructors Constructor Description User(java.lang.String username, java.lang.String dn, java.lang.String password, java.util.List<java.lang.String> roles, java.lang.String userRoleId)Constructs a new User.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDN()Get the distinguished name.java.lang.StringgetPassword()Get the password.java.util.List<java.lang.String>getRoles()Get the roles.java.lang.StringgetUserName()Get the username.java.lang.StringgetUserRoleId()Get the user role ID.
-
-
-
Constructor Detail
-
User
public User(java.lang.String username, java.lang.String dn, java.lang.String password, java.util.List<java.lang.String> roles, java.lang.String userRoleId)Constructs a new User.- Parameters:
username- the usernamedn- the distinguished namepassword- the passwordroles- the list of rolesuserRoleId- the user role ID
-
-
Method Detail
-
getUserName
public java.lang.String getUserName()
Get the username.- Returns:
- the username
-
getDN
public java.lang.String getDN()
Get the distinguished name.- Returns:
- the distinguished name
-
getPassword
public java.lang.String getPassword()
Get the password.- Returns:
- the password
-
getRoles
public java.util.List<java.lang.String> getRoles()
Get the roles.- Returns:
- the list of roles
-
getUserRoleId
public java.lang.String getUserRoleId()
Get the user role ID.- Returns:
- the user role ID
-
-