Package dev.galasa.framework.spi.creds
Class CredentialsToken
java.lang.Object
dev.galasa.framework.spi.creds.Credentials
dev.galasa.framework.spi.creds.AbstractCredentials
dev.galasa.framework.spi.creds.CredentialsToken
- All Implemented Interfaces:
ICredentials
,ICredentialsToken
-
Field Summary
Fields inherited from class dev.galasa.framework.spi.creds.AbstractCredentials
CREDS_PROPERTY_PREFIX
-
Constructor Summary
ConstructorDescriptionCredentialsToken
(String plainTextToken) CredentialsToken
(SecretKeySpec key, String stoken) -
Method Summary
Methods inherited from class dev.galasa.framework.spi.creds.AbstractCredentials
getDescription, getLastUpdatedByUser, getLastUpdatedTime, getMetadataProperties, setDescription, setLastUpdatedByUser, setLastUpdatedTime
Methods inherited from class dev.galasa.framework.spi.creds.Credentials
base64, decode, decrypt, decryptToString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.galasa.ICredentials
getDescription, getLastUpdatedByUser, getLastUpdatedTime, getMetadataProperties, setDescription, setLastUpdatedByUser, setLastUpdatedTime
-
Constructor Details
-
CredentialsToken
-
CredentialsToken
- Throws:
CredentialsException
-
-
Method Details
-
getToken
public byte[] getToken()- Specified by:
getToken
in interfaceICredentialsToken
-
toProperties
- Specified by:
toProperties
in interfaceICredentials
-