WSS4J cannot recognize the SAML 1.0 "AssertionID" attribute when dereferencing signature references

Solution Verified - Updated -

Issue

SAML 1.0 defines that the attribute named AssertionID is designated as the XML ID attribute. This means it should be used when searching for an assertion element. In this situation, WSS4J is trying to resolve an XML Signature reference that points to an assertion, but it can't find it because it doesn't look for AssertionID.

Caused by: javax.xml.crypto.dsig.XMLSignatureException: 
           javax.xml.crypto.URIReferenceException: 
           org.apache.xml.security.utils.resolver.ResourceResolverException: 
           Cannot resolve element with ID SAML-SV

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.