Class SSLContextFactoryBean

java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean
org.apache.mina.integration.spring.ssl.SSLContextFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class SSLContextFactoryBean extends org.springframework.beans.factory.config.AbstractFactoryBean
Spring FactoryBean implementation which makes it possible to configure SSLContext instances using Spring.

If no properties are set the returned SSLContext will be equivalent to what the following creates:

      SSLContext c = SSLContext.getInstance( "TLS" );
      c.init( null, null, null );
 

Use the properties prefixed with keyManagerFactory to control the creation of the KeyManager to be used.

Use the properties prefixed with trustManagerFactory to control the creation of the TrustManagerFactory to be used.