java.lang.Object
org.bzdev.ejws.EjwsSecureBasicAuth.Entry
- Enclosing class:
- EjwsSecureBasicAuth
User entry.
This object contains a user's password, roles, and public-key
operations.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the password stored in this entry.getRoles()
Get the roles stored in this entry.Get an instance of an object that provides secure basic authentication operations.
-
Constructor Details
-
Entry
Constructor.- Parameters:
pw
- a password for a userroles
- a set of roles that a user may have
-
Entry
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 userroles
- a set of roles that a user may have
-
-
Method Details
-
getPassword
Get the password stored in this entry.- Returns:
- the password
-
getRoles
Get the roles stored in this entry.- Returns:
- a set of roles; null if not applicable
-
getSecureBasicUtilities
Get an instance of an object that provides secure basic authentication operations. This object is created by this class's constructors.- Returns:
- the object
-