Package dev.galasa.framework.spi.creds
Class CredentialsUsernamePassword
java.lang.Object
dev.galasa.framework.spi.creds.Credentials
dev.galasa.framework.spi.creds.CredentialsUsernamePassword
- All Implemented Interfaces:
ICredentials
,ICredentialsUsername
,ICredentialsUsernamePassword
public class CredentialsUsernamePassword
extends Credentials
implements ICredentialsUsernamePassword
-
Constructor Summary
ConstructorDescriptionCredentialsUsernamePassword
(SecretKeySpec key, String username, String password) -
Method Summary
Methods inherited from class dev.galasa.framework.spi.creds.Credentials
base64, decode, decrypt
-
Constructor Details
-
CredentialsUsernamePassword
public CredentialsUsernamePassword(SecretKeySpec key, String username, String password) throws CredentialsException - Throws:
CredentialsException
-
-
Method Details
-
getUsername
- Specified by:
getUsername
in interfaceICredentialsUsername
-
getPassword
- Specified by:
getPassword
in interfaceICredentialsUsernamePassword
-