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

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

    [ https://issues.apache.org/jira/browse/FC-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15121616#comment-15121616 ] 

Shawn McKinney commented on FC-140:
-----------------------------------

another good catch

> 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
>         Attachments: [FC-140]_-_System properties cannot override values for trust store.patch
>
>
> 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)