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

Bjørn Hilstad commented on WSS-589:
-----------------------------------

Ok, thanks for clearing that up. I just misunderstood the documentation which 
says "The key that holds a reference to the object holding complete information 
about the signature Crypto implementation."
I read this to be a place to store a Crypto implemenation which was wrong.

> Incorrect cast in WSHandler getString
> -------------------------------------
>
>                 Key: WSS-589
>                 URL: https://issues.apache.org/jira/browse/WSS-589
>             Project: WSS4J
>          Issue Type: Bug
>          Components: WSS4J Core
>            Reporter: Bjørn Hilstad
>            Assignee: Colm O hEigeartaigh
>            Priority: Minor
>             Fix For: 2.1.4
>
>
> When using SIG_PROP_REF_ID you get a ClassCastException because it will try 
> to cast the Crypto instance to a String.
> This happens in line 1382 og WSHandler.
> For me this means that WSSecSignatureSAML will also fail because it fails 
> when the variable userCrypto is null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to