@Configuration public class KeyStoreConfig extends Object
| Constructor and Description |
|---|
KeyStoreConfig() |
| Modifier and Type | Method and Description |
|---|---|
org.nhindirect.common.crypto.KeyStoreProtectionManager |
hsmKeyStoreProtectionManager() |
org.nhindirect.common.crypto.KeyStoreProtectionManager |
nonHSMKeyStoreProtectionManager() |
@Bean
@ConditionalOnProperty(name="direct.config.keystore.hsmpresent",
havingValue="true")
public org.nhindirect.common.crypto.KeyStoreProtectionManager hsmKeyStoreProtectionManager()
@Bean
@ConditionalOnProperty(name="direct.config.keystore.hsmpresent",
havingValue="false",
matchIfMissing=true)
public org.nhindirect.common.crypto.KeyStoreProtectionManager nonHSMKeyStoreProtectionManager()
Copyright © 2021. All rights reserved.