cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Germann (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-825) WSS4JOutInterceptor does not work without "user" Property
Date Tue, 24 Jul 2007 09:58:31 GMT
WSS4JOutInterceptor does not work without "user" Property
---------------------------------------------------------

                 Key: CXF-825
                 URL: https://issues.apache.org/jira/browse/CXF-825
             Project: CXF
          Issue Type: Bug
          Components: WS-* Components
    Affects Versions: 2.0
            Reporter: Matthias Germann


The WSS4JOutInterceptor does not work if the WSHandlerConstants.USER configuration property
is not set. But there exist some actions which do not require this property (i.e. SAMLTokenUnsigned).
Therefore, this property should not be mandatory.

The Interceptor fails as follows:

A NullPointerException occurs if the property is not set:
java.lang.NullPointerException
	at org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor.handleMessage(WSS4JOutInterceptor.java:119)
	at org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor.handleMessage(WSS4JOutInterceptor.java:42)

A SoapFaultoccurs if the property is set to an empty string:
org.apache.cxf.binding.soap.SoapFault: NO_USERNAME
	at org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor.handleMessage(WSS4JOutInterceptor.java:126)
	at org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor.handleMessage(WSS4JOutInterceptor.java:42)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message