Package ome.security

Class KeyAndTrustStoreConfiguration

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean

    public class KeyAndTrustStoreConfiguration
    extends java.lang.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 Detail

      • KeyAndTrustStoreConfiguration

        public KeyAndTrustStoreConfiguration()
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception
        Specified by:
        afterPropertiesSet in interface org.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)