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.InitializingBean
CallsSystem.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 void
afterPropertiesSet()
void
setKeyStore(java.lang.String keyStore)
void
setKeyStorePassword(java.lang.String password)
void
setTrustStore(java.lang.String trustStore)
void
setTrustStorePassword(java.lang.String password)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
- Specified by:
afterPropertiesSet
in 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)
-
-