Class JNDIRealm.User

java.lang.Object
org.apache.catalina.realm.JNDIRealm.User
Enclosing class:
JNDIRealm

protected static class JNDIRealm.User extends Object
A protected class representing a User
  • Constructor Details

    • User

      public User(String username, String dn, String password, List<String> roles, String userRoleId)
      Constructs a new User.
      Parameters:
      username - the username
      dn - the distinguished name
      password - the password
      roles - the list of roles
      userRoleId - the user role ID
  • Method Details

    • getUserName

      public String getUserName()
      Get the username.
      Returns:
      the username
    • getDN

      public String getDN()
      Get the distinguished name.
      Returns:
      the distinguished name
    • getPassword

      public String getPassword()
      Get the password.
      Returns:
      the password
    • getRoles

      public List<String> getRoles()
      Get the roles.
      Returns:
      the list of roles
    • getUserRoleId

      public String getUserRoleId()
      Get the user role ID.
      Returns:
      the user role ID