You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Jan Sindberg (JIRA)" <ji...@apache.org> on 2016/01/27 11:46:39 UTC

[jira] [Created] (FC-143) Let LdapClientTrustStoreManager read trust store from jar

Jan Sindberg created FC-143:
-------------------------------

             Summary: Let LdapClientTrustStoreManager read trust store from jar
                 Key: FC-143
                 URL: https://issues.apache.org/jira/browse/FC-143
             Project: FORTRESS
          Issue Type: Improvement
    Affects Versions: 1.0.0-RC41
            Reporter: Jan Sindberg
            Priority: Minor


*Use case *
Creating a small utility to initialize configuration (setting system properties) which serves up the right parameters and also contains trust stores.
That way we can quickly set up for test locally at developer machines, as well on test environments and prod.

*Problem*
LdapClientTrustStoreManager expects a fully-qualified name of a Java TrustStore on local file system.

*Proposed solution*
Get an input stream to the trust store. Test if it is a local file. If it is not, then test if an inputstream can be created from resources.

Patch attached.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)