[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wss4j-dev
Subject:    [jira] [Commented] (WSS-589) Incorrect cast in WSHandler getString
From:       Bjørn_Hilstad_(JIRA) <jira () apache ! org>
Date:       2016-09-26 17:03:20
Message-ID: JIRA.13007153.1474638526000.665374.1474909400740 () Atlassian ! JIRA
[Download RAW message or body]


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic