directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Sindberg (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FC-140) System properties cannot override values for trust store
Date Wed, 27 Jan 2016 09:33:39 GMT
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)

Mime
View raw message