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 10:33:39 UTC

[jira] [Created] (FC-140) System properties cannot override values for trust store

Jan Sindberg created FC-140:
-------------------------------

             Summary: System properties cannot override values for trust store
                 Key: FC-140
                 URL: https://issues.apache.org/jira/browse/FC-140
             Project: FORTRESS
          Issue Type: Bug
    Affects Versions: 1.0.0-RC41
            Reporter: Jan Sindberg
            Priority: Trivial


In apacheDsDataProvider the values of 
GlobalIds.TRUST_STORE 
GlobalIds.TRUST_STORE_PW

- are used directly instead of using 

Config.getProperty( GlobalIds.TRUST_STORE ) 
Config.getProperty( GlobalIds.TRUST_STORE_PW ) 

It currently works because in GlobalIds these values are set like
    public static final String TRUST_STORE = Config.getProperty( "trust.store" );
    public static final String TRUST_STORE_PW = Config.getProperty( "trust.store.password" );

In summary: The current implementation works for the fortress.properties (and fortres.user.properties). It does not allow for override via system properties such as the documentation states.

Patch appended.



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