You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2008/10/17 11:50:46 UTC

[jira] Closed: (WSS-149) AbstractCrypto requires org.apache.ws.security.crypto.merlin.file to be set and point to an existing file

     [ https://issues.apache.org/jira/browse/WSS-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh closed WSS-149.
-----------------------------------


> 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: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org