Class EjwsSecureBasicAuth.Entry

Enclosing class:
EjwsSecureBasicAuth

public static class EjwsSecureBasicAuth.Entry extends EjwsBasicAuthenticator.Entry
User entry. This object contains a user's password, roles, and public-key operations.
See Also:
  • 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
    • Entry

      public Entry(String pem, String pw, Set<String> roles)
      Constructor with a PEM-encoded public-key.
      Parameters:
      pem - the PEM encoded public key or a certificate containing that public key.
      pw - a password for a user
      roles - a set of roles that a user may have
    • Entry

      public Entry(String pem, String pw, Set<String> roles, boolean sblCompressed, byte[] sbldata)
      Constructor with a PEM-encoded public-key and SBL data. The term SBL refers to the file created with the program sbl.
      Parameters:
      pem - the PEM encoded public key or a certificate containing that public key.
      pw - a password for a user
      roles - a set of roles that a user may have
      sblCompressed - true if the sbldata is compressed, false otherwise
      sbldata - the SBL file as a byte array, possibly compressed
  • Method Details