[
https://issues.apache.org/jira/browse/WSCOMMONS-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sanka Samaranayake resolved WSCOMMONS-221.
------------------------------------------
Resolution: Fixed
Fixed : see http://svn.apache.org/viewvc?view=rev&revision=556521
> Signature verification fails due to Java object reference mismatch in
> ElementProxy#guaranteeThatElementInCorrectSpace()
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: WSCOMMONS-221
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-221
> Project: WS-Commons
> Issue Type: Bug
> Components: AXIOM
> Reporter: Sanka Samaranayake
> Priority: Blocker
>
> ElementProxy#guaranteeThatElementInCorrectSpace() method contains the
> following check :
> if ((namespaceSHOULDBE!=namespaceIS) ||
> !localnameSHOULDBE.equals(localnameIS) ) {
> Object exArgs[] = { namespaceIS +":"+ localnameIS,
> namespaceSHOULDBE +":"+ localnameSHOULDBE};
> throw new XMLSecurityException("xml.WrongElement", exArgs);
> }
> I'm using opensaml-1.1b and I encounter a signature failure due to
> namespaceIS object not being the same object as namespaceSHOULDBE. Is
> this intentional (Apologies if I overlooked something obvious)? Or can
> we change this to the following:
> if (!namespaceSHOULDBE.equals(namespaceIS)) ||
> !localnameSHOULDBE.equals(localnameIS) ) {
> Object exArgs[] = { namespaceIS +":"+ localnameIS,
> namespaceSHOULDBE +":"+ localnameSHOULDBE};
> throw new XMLSecurityException("xml.WrongElement", exArgs);
> }
--
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]