Interface UserCredentials
public interface UserCredentials
Represents the credentials a user and password for authentication purposes.
- Author:
- James R. Perkins
-
Method Summary
Modifier and TypeMethodDescriptionstatic UserCredentials
Creates a user credential for the username and password provided.byte[]
A byte array which represents the password for authentication.The username used for authentication.static UserCredentials
Creates a user credential for the username and password provided.
-
Method Details
-
getUsername
-
getPassword
byte[] getPassword()A byte array which represents the password for authentication.- Returns:
- the password
-
clear
Creates a user credential for the username and password provided.- Parameters:
username
- the username used for authenticationpassword
- the password used for authentication- Returns:
- the user credentials
-
of
Creates a user credential for the username and password provided.- Parameters:
username
- the username used for authenticationpassword
- the password used for authentication- Returns:
- the user credentials
-