private KeyStoreFactoryBean keyStoreFromSystemProperties ( String property ) { if ( System . getProperty ( property ) == null ) return null ; KeyStoreFactoryBean keyStore = new KeyStoreFactoryBean ( ) ; keyStore . setLocation ( locationFromSystemProperty ( property ) ) ; keyStore . setProvider ( System . getProperty ( property + "Provider" ) ) ; keyStore . setPassword ( System . getProperty ( property + "Password" ) ) ; keyStore . setType ( System . getProperty ( property + "Type" ) ) ; return keyStore ; }
Constructs a key store factory bean using JSSE system properties .