Package dev.galasa.framework.spi.creds
Class CredentialsUsernameToken
java.lang.Object
dev.galasa.framework.spi.creds.Credentials
dev.galasa.framework.spi.creds.CredentialsUsernameToken
- All Implemented Interfaces:
ICredentials
,ICredentialsUsername
,ICredentialsUsernameToken
-
Constructor Summary
-
Method Summary
Methods inherited from class dev.galasa.framework.spi.creds.Credentials
base64, decode, decrypt
-
Constructor Details
-
CredentialsUsernameToken
public CredentialsUsernameToken(SecretKeySpec key, String username, String token) throws CredentialsException - Throws:
CredentialsException
-
-
Method Details
-
getUsername
- Specified by:
getUsername
in interfaceICredentialsUsername
-
getToken
public byte[] getToken()- Specified by:
getToken
in interfaceICredentialsUsernameToken
-