Package dev.galasa.framework.spi.creds
Class AbstractCredentials
java.lang.Object
dev.galasa.framework.spi.creds.Credentials
dev.galasa.framework.spi.creds.AbstractCredentials
- All Implemented Interfaces:
ICredentials
- Direct Known Subclasses:
CredentialsToken
,CredentialsUsername
,CredentialsUsernamePassword
,CredentialsUsernameToken
An abstract class where common credential-related details are stored.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetMetadataProperties
(String credentialsId) void
setDescription
(String description) void
setLastUpdatedByUser
(String username) void
setLastUpdatedTime
(Instant time) 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
toProperties
-
Field Details
-
CREDS_PROPERTY_PREFIX
- See Also:
-
-
Constructor Details
-
AbstractCredentials
- Throws:
CredentialsException
-
AbstractCredentials
public AbstractCredentials()
-
-
Method Details
-
setDescription
- Specified by:
setDescription
in interfaceICredentials
-
setLastUpdatedByUser
- Specified by:
setLastUpdatedByUser
in interfaceICredentials
-
setLastUpdatedTime
- Specified by:
setLastUpdatedTime
in interfaceICredentials
-
getDescription
- Specified by:
getDescription
in interfaceICredentials
-
getLastUpdatedByUser
- Specified by:
getLastUpdatedByUser
in interfaceICredentials
-
getLastUpdatedTime
- Specified by:
getLastUpdatedTime
in interfaceICredentials
-
getMetadataProperties
- Specified by:
getMetadataProperties
in interfaceICredentials
-