cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6496) NPE in SamlAssertionWrapper.assertionToString()
Date Tue, 14 Jul 2015 13:16:05 GMT

    [ https://issues.apache.org/jira/browse/CXF-6496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14626319#comment-14626319
] 

Colm O hEigeartaigh commented on CXF-6496:
------------------------------------------


This is already fixed for the next release.

Colm.

> NPE in SamlAssertionWrapper.assertionToString()
> -----------------------------------------------
>
>                 Key: CXF-6496
>                 URL: https://issues.apache.org/jira/browse/CXF-6496
>             Project: CXF
>          Issue Type: Bug
>          Components: WS-* Components
>    Affects Versions: 3.1.0, 3.1.1
>            Reporter: Matthias Müller
>            Assignee: Colm O hEigeartaigh
>             Fix For: 3.0.6, 3.1.2
>
>         Attachments: SAMLCallbackHandler.java, SamlAssertionToStringTest.java
>
>
> The assertionToString()-Method leads to a NullPointerException in org.opensaml.core.xml.io.AbstractXMLObjectMarshaller:
> {code}
> java.lang.NullPointerException
> 	at org.opensaml.core.xml.io.AbstractXMLObjectMarshaller.marshall(AbstractXMLObjectMarshaller.java:74)
> 	at org.apache.wss4j.common.saml.OpenSAMLUtil.toDom(OpenSAMLUtil.java:170)
> 	at org.apache.wss4j.common.saml.OpenSAMLUtil.toDom(OpenSAMLUtil.java:142)
> 	at org.apache.wss4j.common.saml.SamlAssertionWrapper.toDOM(SamlAssertionWrapper.java:271)
> 	at org.apache.wss4j.common.saml.SamlAssertionWrapper.assertionToString(SamlAssertionWrapper.java:282)
> 	at org.apache.cxf.SamlAssertionToStringTest.generateSamlV20TokenString(SamlAssertionToStringTest.java:24)
> {code}
> This function is working with CXF Version 3.0.5 (where opensaml 2.6 is used). From Version
3.1.0 (opensaml 3.0) on it's not working. Maybe it's a problem in opensaml 3.0, maybe CXF
is not initializing opensaml 3.0 correct.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message