Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
3.3.9, 3.4.10, 3.5.6, 3.6.1, 4.0.2
-
None
-
Unknown
Description
I am facing an issue with CXF PolicyBasedWSS4JOutInterceptor. The class AsymmetricBindingHandler.java has a method getSAMLToken(). Previous version of this class (cxf-rt-ws-security-2.7.14.jar) had a null check for RECV_RESULTS, but the newer versions (using cxf-rt-ws-security-3.3.12.redhat-00001.jar) removed the null check, which now leads to NullPointerException.
Stacktrace:
Caused by: java.lang.NullPointerException
at org.apache.cxf.ws.security.wss4j.policyhandlers.AsymmetricBindingHandler.getSAMLToken(AsymmetricBindingHandler.java:818) [cxf-rt-ws-security.jar:3.3.12.redhat-00001]
at org.apache.cxf.ws.security.wss4j.policyhandlers.AsymmetricBindingHandler.doSignBeforeEncrypt(AsymmetricBindingHandler.java:159) [cxf-rt-ws-security.jar:3.3.12.redhat-00001]
Attachments
Attachments
Issue Links
- links to