javax.xml.ws.soap.SOAPFaultException: org.apache.neethi.builders.PolicyContainingPrimitiveAssertion cannot be cast to org.apache.wss4j.policy.model.AlgorithmSuite

Stack Overflow | csDave | 4 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    CXF wsdl causes ClassCastException to org.apache.wss4j.policy.model.AlgorithmSuite

    Stack Overflow | 4 months ago | csDave
    javax.xml.ws.soap.SOAPFaultException: org.apache.neethi.builders.PolicyContainingPrimitiveAssertion cannot be cast to org.apache.wss4j.policy.model.AlgorithmSuite
  2. 0

    Apache 3.X invalid policy

    Stack Overflow | 2 years ago | brun0sa
    java.lang.IllegalArgumentException: Invalid Policy
  3. 0

    How to implement WS-Federation using Thinktecture.IdentityServer.v2 with Node.js?

    codegur.com | 6 months ago
    java.lang.IllegalArgumentException: sp:HttpsToken must have an inner wsp:Policy element
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    WS Federation client impl with CXF

    Stack Overflow | 7 months ago | Amar
    java.lang.IllegalArgumentException: sp:HttpsToken must have an inner wsp:Policy element
  6. 0

    Can we use multiple federation configurations in web.config for SSO?

    codegur.com | 6 months ago
    java.lang.IllegalArgumentException: sp:HttpsToken must have an inner wsp:Policy element

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.apache.neethi.builders.PolicyContainingPrimitiveAssertion cannot be cast to org.apache.wss4j.policy.model.AlgorithmSuite

      at org.apache.wss4j.policy.model.AbstractBinding.parseNestedBindingPolicy()
    2. org.apache.wss4j
      TransportBindingBuilder.build
      1. org.apache.wss4j.policy.model.AbstractBinding.parseNestedBindingPolicy(AbstractBinding.java:78)
      2. org.apache.wss4j.policy.model.AbstractBinding.<init>(AbstractBinding.java:43)
      3. org.apache.wss4j.policy.model.TransportBinding.<init>(TransportBinding.java:36)
      4. org.apache.wss4j.policy.builders.TransportBindingBuilder.build(TransportBindingBuilder.java:45)
      5. org.apache.wss4j.policy.builders.TransportBindingBuilder.build(TransportBindingBuilder.java:34)
      5 frames
    3. Apache Neethi
      PolicyBuilder.getPolicy
      1. org.apache.neethi.AssertionBuilderFactoryImpl.invokeBuilder(AssertionBuilderFactoryImpl.java:138)
      2. org.apache.neethi.AssertionBuilderFactoryImpl.build(AssertionBuilderFactoryImpl.java:117)
      3. org.apache.neethi.PolicyBuilder.processOperationElement(PolicyBuilder.java:224)
      4. org.apache.neethi.PolicyBuilder.getAllOperator(PolicyBuilder.java:184)
      5. org.apache.neethi.PolicyBuilder.processOperationElement(PolicyBuilder.java:217)
      6. org.apache.neethi.PolicyBuilder.getExactlyOneOperator(PolicyBuilder.java:180)
      7. org.apache.neethi.PolicyBuilder.processOperationElement(PolicyBuilder.java:215)
      8. org.apache.neethi.PolicyBuilder.getPolicyOperator(PolicyBuilder.java:174)
      9. org.apache.neethi.PolicyBuilder.getPolicy(PolicyBuilder.java:124)
      9 frames
    4. Apache CXF Runtime WS Policy
      LocalServiceModelReferenceResolver.resolveReference
      1. org.apache.cxf.ws.policy.attachment.reference.LocalServiceModelReferenceResolver.resolveReference(LocalServiceModelReferenceResolver.java:53)
      1 frame