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 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.-
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
create
-
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
-