Uploaded image for project: 'PicketLink Federated Identity'
  1. PicketLink Federated Identity
  2. PLFED-290

DOMException thrown on WS-Trust Bearer request

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: PLFED_2.0.3.Final
    • Fix Version/s: PLFED_2.1.1.Final
    • Component/s: STS
    • Labels:
      None

      Description

      A DOMException is thrown when requesting a Bearer KeyType Assertion from the PicketLink STS:

      13:47:16,463 WARN [org.apache.cxf.phase.PhaseInterceptorChain] Interceptor for

      {urn:picketlink:identity-federation:sts}

      PicketLinkSTS#

      {urn:picketlink:identity-federation:sts}

      IssueToken has thrown exception, unwinding now: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
      at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(CoreDocumentImpl.java:391) [:1.6.0_30]
      at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(NodeImpl.java:235) [:1.6.0_30]
      at com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.appendChild(SOAPPartImpl.java:468) [:1.6.0_30]
      at org.apache.cxf.staxutils.W3CDOMStreamWriter.setChild(W3CDOMStreamWriter.java:114) [:2.3.1-patch-01]

      The request looks like:

      Payload: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Body><wst:RequestSecurityToken xmlns:wst="http://docs.oasis-open.org/ws-sx/ws-trust/200512"><wst:RequestType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/Issue</wst:RequestType><wsp:AppliesTo xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"><wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Address>https://localhost:9001/doubleit/services/doubleittransportsaml2</wsa:Address></wsa:EndpointReference></wsp:AppliesTo><wst:TokenType>http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV2.0</wst:TokenType><wst:KeyType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/Bearer</wst:KeyType></wst:RequestSecurityToken></soap:Body></soap:Envelope>

      PicketLink is deployed on JBoss 6.1.0.Final.

      Colm.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  asoldano Alessio Soldano
                  Reporter:
                  coheigea Colm O hEigeartaigh
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: