public class KeyAndTrustStoreConfiguration extends Object implements org.springframework.beans.factory.InitializingBean
System.setProperty(String, String)
for the "javax.net.ssl"
properties needed to configure a trust store and a keystore for the Java
process.Constructor and Description |
---|
KeyAndTrustStoreConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Invoked by a BeanFactory after it has set all bean properties supplied
(and satisfied BeanFactoryAware and ApplicationContextAware).
|
void |
setKeyStore(String keyStore) |
void |
setKeyStorePassword(String password) |
void |
setTrustStore(String trustStore) |
void |
setTrustStorePassword(String password) |
public void afterPropertiesSet() throws Exception
org.springframework.beans.factory.InitializingBean
This method allows the bean instance to perform initialization only possible when all bean properties have been set and to throw an exception in the event of misconfiguration.
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
- in the event of misconfiguration (such
as failure to set an essential property) or if initialization fails.public void setKeyStore(String keyStore)
public void setTrustStore(String trustStore)
public void setTrustStorePassword(String password)
public void setKeyStorePassword(String password)
Version: 5.1.3-ice35-b52
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.