Class AbstractBaseCredentialConfigurationProperties
java.lang.Object
se.swedenconnect.security.credential.config.properties.AbstractBaseCredentialConfigurationProperties
- All Implemented Interfaces:
BaseCredentialConfiguration
- Direct Known Subclasses:
PemCredentialConfigurationProperties, StoreCredentialConfigurationProperties
public class AbstractBaseCredentialConfigurationProperties
extends Object
implements BaseCredentialConfiguration
Implementation of
BaseCredentialConfiguration.- Author:
- Martin Lindström
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMetadata property for active-from.activeTo()Metadata property for active-to.booleanMetadata property for expires-at.Gets the active-from metadata property.Gets the active-to metadata property.Gets the expires-at metadata property.Gets the issued-at metadata property.getKeyId()Gets the key identifier metadata property.Gets the credential metadata properties.getName()Gets the name of the credential.getUsage()Gets the usage metadata property.inthashCode()issuedAt()Metadata property for issued-at.keyId()Metadata property for key identifier.metadata()Additional metadata properties.name()The name of the credential.voidsetActiveFrom(Instant activeFrom) Assigns the active-from metadata property.voidsetActiveTo(Instant activeTo) Assigns the active-to metadata property.voidsetExpiresAt(Instant expiresAt) Assigns the expires-at metadata property.voidsetIssuedAt(Instant issuedAt) Assigns the issued-at metadata property.voidAssigns the key identifier metadata property.voidAssigns the name of the credential.voidAssigns the usage metadata property.usage()Metadata property for (credential) usage.
-
Constructor Details
-
AbstractBaseCredentialConfigurationProperties
public AbstractBaseCredentialConfigurationProperties()
-
-
Method Details
-
getName
-
setName
Assigns the name of the credential.- Parameters:
name- the credential name
-
getKeyId
Gets the key identifier metadata property.- Returns:
- the key identifier
-
setKeyId
Assigns the key identifier metadata property.- Parameters:
keyId- the key identifier
-
getIssuedAt
Gets the issued-at metadata property.- Returns:
- the issued-at instant
-
setIssuedAt
Assigns the issued-at metadata property.- Parameters:
issuedAt- the issued-at instant
-
getExpiresAt
Gets the expires-at metadata property.- Returns:
- the expires-at instant
-
setExpiresAt
Assigns the expires-at metadata property.- Parameters:
expiresAt- the expires-at instant
-
getActiveFrom
Gets the active-from metadata property.- Returns:
- the active-from instant
-
setActiveFrom
Assigns the active-from metadata property.- Parameters:
activeFrom- the active-from instant
-
getActiveTo
Gets the active-to metadata property.- Returns:
- the active-to instant
-
setActiveTo
Assigns the active-to metadata property.- Parameters:
activeTo- the active-to instant
-
getUsage
-
setUsage
Assigns the usage metadata property.- Parameters:
usage- the usage
-
getMetadata
-
name
The name of the credential.- Specified by:
namein interfaceBaseCredentialConfiguration- Returns:
- the name of the credential
-
keyId
Metadata property for key identifier.- Specified by:
keyIdin interfaceBaseCredentialConfiguration- Returns:
- property for key identifier
-
issuedAt
Metadata property for issued-at.- Specified by:
issuedAtin interfaceBaseCredentialConfiguration- Returns:
- property for issued-at
-
expiresAt
Metadata property for expires-at.- Specified by:
expiresAtin interfaceBaseCredentialConfiguration- Returns:
- property for expires-at
-
activeFrom
Metadata property for active-from.- Specified by:
activeFromin interfaceBaseCredentialConfiguration- Returns:
- property for active-from
-
activeTo
Metadata property for active-to.- Specified by:
activeToin interfaceBaseCredentialConfiguration- Returns:
- property for active-to
-
usage
Metadata property for (credential) usage.- Specified by:
usagein interfaceBaseCredentialConfiguration- Returns:
- property for usage
-
metadata
-
equals
-
hashCode
-