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
Environment: Merlin under Spring WS
Reporter: Albert Deinbeck
Assignee: Ruchith Udayanga Fernando
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]