Class CredentialContainerBeanConfiguration
java.lang.Object
se.swedenconnect.signservice.certificate.base.config.CredentialContainerConfiguration
se.swedenconnect.signservice.config.common.CredentialContainerBeanConfiguration
- All Implemented Interfaces:
CommonBeanCandidate
public class CredentialContainerBeanConfiguration
extends se.swedenconnect.signservice.certificate.base.config.CredentialContainerConfiguration
implements CommonBeanCandidate
A
KeyAndCertificateHandler
needs a PkiCredentialContainer
that it uses for key generation (user
signing credentials). There is an advantage to use only one such instance, for example for easy scheduling of
the PkiCredentialContainer.cleanup()
method. This class configures such a bean.-
Nested Class Summary
Nested classes/interfaces inherited from class se.swedenconnect.signservice.certificate.base.config.CredentialContainerConfiguration
se.swedenconnect.signservice.certificate.base.config.CredentialContainerConfiguration.CredentialContainerConfigurationBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Method that is invoked by the framework after all settings have been assigned.The bean name that should be assigned.void
setBeanName
(String beanName) The bean name that should be assigned.Methods inherited from class se.swedenconnect.signservice.certificate.base.config.CredentialContainerConfiguration
builder, canEqual, create, equals, getHsmConfigurationFile, getHsmPin, getSecurityProvider, hashCode, setHsmConfigurationFile, setHsmPin, setSecurityProvider, toString
-
Constructor Details
-
CredentialContainerBeanConfiguration
public CredentialContainerBeanConfiguration()
-
-
Method Details
-
getBeanName
The bean name that should be assigned.- Specified by:
getBeanName
in interfaceCommonBeanCandidate
- Returns:
- the bean name
-
setBeanName
The bean name that should be assigned.- Specified by:
setBeanName
in interfaceCommonBeanCandidate
- Parameters:
beanName
- the bean name
-
afterPropertiesSet
Method that is invoked by the framework after all settings have been assigned. The implementation checks that all necessary settings are assigned.- Specified by:
afterPropertiesSet
in interfaceCommonBeanCandidate
- Throws:
IllegalArgumentException
- for configuration errors
-