Configuration enhancement of the TrustManagerFactory in SSLContextFactoryBean
-----------------------------------------------------------------------------

                 Key: DIRMINA-271
                 URL: http://issues.apache.org/jira/browse/DIRMINA-271
             Project: Directory MINA
          Issue Type: Improvement
    Affects Versions: 1.0
            Reporter: Wolter Eldering
            Priority: Minor


The current implementation of SSLContextFactoryBean will always call 
trustManagerFactory init(keyStore) if a TrustManagerFactory is configured.
For more flexibel and advanced configuration of TrustManagerFactories 
init(ManagerFactoryParameters spec) can be used.

I'd like to suggest to following changes to the SSLContextFactoryBean:
- add a trustManagerFactoryParameters property to SSLContextFactoryBean
- when this property is set use its value to initialize the 
trustManagerFactory, otherwise use the trustManagerFactoryKeystore property for 
initialization
A keystore can still be configured when using the trustManagerFactoryParameters.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to