You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2015/06/19 11:41:01 UTC

[jira] [Commented] (WSS-540) Need to load properties outside of classpath

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

Colm O hEigeartaigh commented on WSS-540:
-----------------------------------------

I've tested the following with the latest versions of CXF and it works.

For the non-policy case: <entry key="signaturePropFile" value="file:///tmp/alice.properties"/>
Policy-case: <entry key="security.signature.properties" value="file:///tmp/alice.properties"/>

Where alice.properties is:

org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
org.apache.ws.security.crypto.merlin.keystore.type=jks
org.apache.ws.security.crypto.merlin.keystore.password=password
org.apache.ws.security.crypto.merlin.keystore.alias=alice
org.apache.ws.security.crypto.merlin.keystore.file=/tmp/alice.jks

Colm.

> Need to load properties outside of classpath
> --------------------------------------------
>
>                 Key: WSS-540
>                 URL: https://issues.apache.org/jira/browse/WSS-540
>             Project: WSS4J
>          Issue Type: Bug
>          Components: WSS4J Core
>    Affects Versions: 2.1.1
>         Environment: all
>            Reporter: David Liszewski
>            Assignee: Colm O hEigeartaigh
>
> See http://stackoverflow.com/questions/30685860/how-to-load-the-cxf-wss4j-crypto-property-file-from-external-location-other-than
> I've encountered same restriction. My ops team needs to manipulate WSS4J parameters w/o code re-deploy (i.e. classpath resource). 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org