Class StandardUsernamePasswordAuthenticationCredentials
java.lang.Object
com.exceptionfactory.socketbroker.configuration.StandardUsernamePasswordAuthenticationCredentials
- All Implemented Interfaces:
AuthenticationCredentials
,UsernamePasswordAuthenticationCredentials
public class StandardUsernamePasswordAuthenticationCredentials
extends Object
implements UsernamePasswordAuthenticationCredentials
Standard implementation of Username and Password Authentication Credentials
-
Constructor Summary
ConstructorDescriptionStandardUsernamePasswordAuthenticationCredentials
(String username, char[] password) Standard Username and Password Authentication Strategy constructor with required properties -
Method Summary
Modifier and TypeMethodDescriptionchar[]
Get PasswordGet Username
-
Constructor Details
-
StandardUsernamePasswordAuthenticationCredentials
Standard Username and Password Authentication Strategy constructor with required properties- Parameters:
username
- Username requiredpassword
- Password required
-
-
Method Details
-
getUsername
Get Username- Specified by:
getUsername
in interfaceUsernamePasswordAuthenticationCredentials
- Returns:
- Username
-
getPassword
public char[] getPassword()Get Password- Specified by:
getPassword
in interfaceUsernamePasswordAuthenticationCredentials
- Returns:
- Password
-