You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Marc Giger (JIRA)" <ji...@apache.org> on 2013/07/09 12:21:48 UTC

[jira] [Commented] (WSS-458) Allow no security header in certain use-cases

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

Marc Giger commented on WSS-458:
--------------------------------

resolved in r1501184.
                
> Allow no security header in certain use-cases
> ---------------------------------------------
>
>                 Key: WSS-458
>                 URL: https://issues.apache.org/jira/browse/WSS-458
>             Project: WSS4J
>          Issue Type: Bug
>            Reporter: Colm O hEigeartaigh
>            Assignee: Marc Giger
>             Fix For: 2.0
>
>
> This task is to allow no security header in certain use-cases. Currently an error is thrown:
> javax.xml.ws.soap.SOAPFaultException: javax.xml.stream.XMLStreamException: org.apache.wss4j.common.ext.WSSecurityException: Security header is missing
>         at org.apache.wss4j.stax.impl.processor.input.SecurityHeaderInputProcessor.processNextEvent(SecurityHeaderInputProcessor.java:160)
> Two use-cases that come to mind are:
>  a) A SupportingToken policy that is "AlwaysToRecipient" with no binding. In this case, the service response could have no security header, which is completely valid + the client should treat it as such.
>  b) A SOAP Fault is received. Here we want to process the fault and so we should at least fail at the security policy validation stage.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org