[
https://issues.apache.org/jira/browse/WSS-576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Namrata Jaiswal updated WSS-576:
--------------------------------
Attachment: graycol.gif
Thanks Colm for quick reply!
This error is thrown when we are trying to decrypt messages and for
decryption we always go through WSS4J APIs, so I think internally
WSSec.init()should have been called.
Also, have checked xmlsec-2.0.6 resources there is no key with ID
SECURITY_ERROR.
Thanks,
Namrata
From: "Colm O hEigeartaigh (JIRA)" <[email protected]>
To: Namrata Jaiswal/India/IBM@IBMIN
Date: 04/21/2016 02:16 PM
Subject: [jira] [Commented] (WSS-576) No message with ID
"SECURITY_ERROR" found in resource bundle
[
https://issues.apache.org/jira/browse/WSS-576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15251573#comment-15251573
]
Colm O hEigeartaigh commented on WSS-576:
-----------------------------------------
That won't work, WSSec.init() must be called before XMLSec.init(). WSSec
will in turn call XMLSec, so you can just make sure that WSSec is called
first.
org.apache.wss4j.common.ext.WSSecurityException: No message with ID
"SECURITY_ERROR" found in resource bundle
"org/apache/xml/security/resource/xmlsecurity"
(WSSecurityStreamReader.java:56)
Source)
(SafeXMLStreamReader.java:185)
(StAXOMBuilder.java:639)
(StAXOMBuilder.java:187)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
> No message with ID "SECURITY_ERROR" found in resource bundle
> ------------------------------------------------------------
>
> Key: WSS-576
> URL: https://issues.apache.org/jira/browse/WSS-576
> Project: WSS4J
> Issue Type: Bug
> Components: WSS4J Core
> Affects Versions: 2.0.7
> Environment: Any
> Reporter: Namrata Jaiswal
> Assignee: Colm O hEigeartaigh
> Priority: Critical
> Fix For: 2.0.8
>
> Attachments: graycol.gif, graycol.gif
>
>
> When decryption fails Stax API throws unfriendly exception,
> Caused by: javax.xml.stream.XMLStreamException:
> org.apache.wss4j.common.ext.WSSecurityException: No message with ID
> "SECURITY_ERROR" found in resource bundle
> "org/apache/xml/security/resource/xmlsecurity"
> at
> org.apache.wss4j.stax.impl.WSSecurityStreamReader.next(WSSecurityStreamReader.java:56)
> at javax.xml.stream.util.StreamReaderDelegate.next(Unknown Source)
> at
> org.apache.axiom.om.impl.builder.SafeXMLStreamReader.next(SafeXMLStreamReader.java:185)
> at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:639)
> at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:187)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]