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

Albert Deinbeck commented on WSS-149:
-------------------------------------

I tested it and it works. for me, that is...
it works with SUN JKS and our own DBKS keystore. 

> 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]

Reply via email to