Class EjwsBasicAuthenticator.Entry

java.lang.Object
org.bzdev.ejws.EjwsBasicAuthenticator.Entry
Enclosing class:
EjwsBasicAuthenticator

public static class EjwsBasicAuthenticator.Entry extends Object
User entry. This object contains a user's password and roles.
  • Constructor Details

    • Entry

      public Entry(String pw, Set<String> roles)
      Constructor.
      Parameters:
      pw - a password for a user
      roles - a set of roles that a user may have
  • Method Details

    • getPassword

      public String getPassword()
      Get the password stored in this entry.
      Returns:
      the password
    • getRoles

      public Set<String> getRoles()
      Get the roles stored in this entry
      Returns:
      a set of roles; null if not applicable