Class CredentialBundlesConfigurationProperties
java.lang.Object
se.swedenconnect.security.credential.config.properties.CredentialBundlesConfigurationProperties
- All Implemented Interfaces:
CredentialBundlesConfiguration
public class CredentialBundlesConfigurationProperties
extends Object
implements CredentialBundlesConfiguration
Configuration properties for bundles of credentials and key stores.
Note: If both PEM configuration and JKS (Java Key Store) is used, the ID:s used must be unique for all credentials (i.e., both those configured using PEM-format and those configured using key store formats).
- Author:
- Martin Lindström
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetJks()Gets the map of credential ID:s and key store based credential configurations.Gets the map of key store ID:s and key store configurations.getPem()Gets the map of credential ID:s and PEM based credential configurations.inthashCode()jks()Gets the map of credential ID:s and key store based credential configurations.keystore()Gets the map of key store ID:s and key store configurations.pem()Gets the map of credential ID:s and PEM based credential configurations.voidAssigns the map of credential ID:s and key store based credential configurations.voidsetKeystore(Map<String, StoreConfigurationProperties> keystore) Assigns the map of key store ID:s and key store configurations.voidAssigns the map of credential ID:s and PEM based credential configurations.
-
Constructor Details
-
CredentialBundlesConfigurationProperties
public CredentialBundlesConfigurationProperties()
-
-
Method Details
-
getKeystore
Gets the map of key store ID:s and key store configurations.- Returns:
- a map of key store configurations
-
setKeystore
Assigns the map of key store ID:s and key store configurations.- Parameters:
keystore- a map of key store configurations
-
getPem
Gets the map of credential ID:s and PEM based credential configurations.- Returns:
- a map of PEM based credential configurations
-
setPem
Assigns the map of credential ID:s and PEM based credential configurations.- Parameters:
pem- a map of PEM based credential configurations
-
getJks
Gets the map of credential ID:s and key store based credential configurations.- Returns:
- a map of key store based credential configurations
-
setJks
Assigns the map of credential ID:s and key store based credential configurations.- Parameters:
jks- a map of key store based credential configurations
-
keystore
Gets the map of key store ID:s and key store configurations.- Specified by:
keystorein interfaceCredentialBundlesConfiguration- Returns:
- a map of key store ID:s and key store configurations
-
pem
Gets the map of credential ID:s and PEM based credential configurations.- Specified by:
pemin interfaceCredentialBundlesConfiguration- Returns:
- a map of credential ID:s and PEM-based credential configurations
-
jks
Gets the map of credential ID:s and key store based credential configurations.- Specified by:
jksin interfaceCredentialBundlesConfiguration- Returns:
- a map of credential ID:s and key store based credential configurations
-
equals
-
hashCode
-