Class JNDIRealm.User

  • Enclosing class:
    JNDIRealm

    protected static class JNDIRealm.User
    extends java.lang.Object
    A 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.String getDN()
      Get the distinguished name.
      java.lang.String getPassword()
      Get the password.
      java.util.List<java.lang.String> getRoles()
      Get the roles.
      java.lang.String getUserName()
      Get the username.
      java.lang.String getUserRoleId()
      Get the user role ID.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 username
        dn - the distinguished name
        password - the password
        roles - the list of roles
        userRoleId - 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