[prev in list] [next in list] [prev in thread] [next in thread]
List: wss4j-dev
Subject: [jira] [Commented] (WSS-540) Need to load properties outside of classpath
From: "Colm O hEigeartaigh (JIRA)" <jira () apache ! org>
Date: 2015-06-19 9:41:01
Message-ID: JIRA.12837659.1434265851000.118774.1434706861143 () Atlassian ! JIRA
[Download RAW message or body]
[ 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic