Package dev.galasa.framework.spi.creds
Class CredentialsUsername
java.lang.Object
dev.galasa.framework.spi.creds.Credentials
dev.galasa.framework.spi.creds.AbstractCredentials
dev.galasa.framework.spi.creds.CredentialsUsername
- All Implemented Interfaces:
ICredentials
,ICredentialsUsername
-
Field Summary
Fields inherited from class dev.galasa.framework.spi.creds.AbstractCredentials
CREDS_PROPERTY_PREFIX
-
Constructor Summary
ConstructorDescriptionCredentialsUsername
(String plainTextUsername) CredentialsUsername
(SecretKeySpec key, String username) -
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
-
CredentialsUsername
-
CredentialsUsername
- Throws:
CredentialsException
-
-
Method Details
-
getUsername
- Specified by:
getUsername
in interfaceICredentialsUsername
-
toProperties
- Specified by:
toProperties
in interfaceICredentials
-