ome.security
Class KeyAndTrustStoreConfiguration

java.lang.Object
  extended by ome.security.KeyAndTrustStoreConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

public class KeyAndTrustStoreConfiguration
extends Object
implements org.springframework.beans.factory.InitializingBean

Calls System.setProperty(String, String) for the "javax.net.ssl" properties needed to configure a trust store and a keystore for the Java process.


Constructor Summary
KeyAndTrustStoreConfiguration()
           
 
Method Summary
 void afterPropertiesSet()
           
 void setKeyStore(String keyStore)
           
 void setKeyStorePassword(String password)
           
 void setTrustStore(String trustStore)
           
 void setTrustStorePassword(String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyAndTrustStoreConfiguration

public KeyAndTrustStoreConfiguration()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

setKeyStore

public void setKeyStore(String keyStore)

setTrustStore

public void setTrustStore(String trustStore)

setTrustStorePassword

public void setTrustStorePassword(String password)

setKeyStorePassword

public void setKeyStorePassword(String password)


OmeroJava Api

Version: Beta4.2.1-r8614-Beta4.2-b41

Copyright © 2009 The University of Dundee. All Rights Reserved.