cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Leung (JIRA)" <>
Subject [jira] [Commented] (CXF-5540) Add a flag to return the security cause error in a SOAP Fault
Date Tue, 11 Feb 2014 23:00:23 GMT


Ted Leung commented on CXF-5540:

I think I instigated this issue, but I think the issue description is not accurate.

I believe it should say something like :

currently a WSSecurityException is mapped to a SOAPFaultException and SoapFault before leaving
the server. This means the client side never knows a WSSecurityException occurred, only that
a SOAPFaultException and SoapFault occurred. The desire is to have the client receive a WSSecurityException
instead of a SOAPFaultException, or to have at least the "cause" of the of SOAPFaultException
contain a chain to WSSecurityException.

The original desire/concern has nothing to do with the message in side the exception, it's
the desire to have the Exception class actually thrown.

> Add a flag to return the security cause error in a SOAP Fault
> -------------------------------------------------------------
>                 Key: CXF-5540
>                 URL:
>             Project: CXF
>          Issue Type: Improvement
>          Components: WS-* Components
>    Affects Versions: 2.7.9
>            Reporter: Colm O hEigeartaigh
>            Assignee: Colm O hEigeartaigh
>             Fix For: 3.0.0-milestone2
> Currently a security exception message is mapped to a standard error message. This task
is to add a boolean configuration flag to allow a server to return the root cause message
to the client (for diagnosis etc.). The default will be to only return the generic message.

This message was sent by Atlassian JIRA

View raw message