[
https://issues.apache.org/jira/browse/WSS-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Colm O hEigeartaigh updated WSS-149:
------------------------------------
Fix Version/s: 1.5.5
Affects Version/s: 1.5.4
> AbstractCrypto requires org.apache.ws.security.crypto.merlin.file to be set
> and point to an existing file
> ---------------------------------------------------------------------------------------------------------
>
> Key: WSS-149
> URL: https://issues.apache.org/jira/browse/WSS-149
> Project: WSS4J
> Issue Type: Bug
> Components: WSS4J Core
> Affects Versions: 1.5.4
> Environment: Merlin under Spring WS
> Reporter: Albert Deinbeck
> Assignee: Colm O hEigeartaigh
> Fix For: 1.5.5
>
> Attachments: AbstractCrypto.java
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> I'm using WSS4J and Merlin in a Spring WS environment.
> We are using a custom Keystore implementation which retrieves keys and
> certificates from an external database.
> Keystore interface explicitely allows to give null for the input stream if
> the keys are not loaded from a file.
> However, AbstractCrypto doesn't allow
> "org.apache.ws.security.crypto.merlin.file" to be null.
> This means that we either have to point to a useless dummy file or subclass
> Merlin and AbstractCrypto.
> Could you add something like this to AbstractCrypto?
> String location =
> this.properties.getProperty("org.apache.ws.security.crypto.merlin.file");
> InputStream is = null;
> if(location != null){
> // load -is- from location
> }
> // load keystore - with -is- possibly null
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]