Package ome.security
Class KeyAndTrustStoreConfiguration
- java.lang.Object
-
- ome.security.KeyAndTrustStoreConfiguration
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
public class KeyAndTrustStoreConfiguration extends java.lang.Object implements org.springframework.beans.factory.InitializingBeanCallsSystem.setProperty(String, String)for the "javax.net.ssl" properties needed to configure a trust store and a keystore for the Java process.
-
-
Constructor Summary
Constructors Constructor Description KeyAndTrustStoreConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()voidsetKeyStore(java.lang.String keyStore)voidsetKeyStorePassword(java.lang.String password)voidsetTrustStore(java.lang.String trustStore)voidsetTrustStorePassword(java.lang.String password)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
java.lang.Exception
-
setKeyStore
public void setKeyStore(java.lang.String keyStore)
-
setTrustStore
public void setTrustStore(java.lang.String trustStore)
-
setTrustStorePassword
public void setTrustStorePassword(java.lang.String password)
-
setKeyStorePassword
public void setKeyStorePassword(java.lang.String password)
-
-