You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Brian DePradine (JIRA)" <ji...@apache.org> on 2008/07/28 17:07:32 UTC

[jira] Created: (AXIS2-3949) AddressingValidationHandler fails to enforce asynchronous only policy

AddressingValidationHandler fails to enforce asynchronous only policy
---------------------------------------------------------------------

                 Key: AXIS2-3949
                 URL: https://issues.apache.org/jira/browse/AXIS2-3949
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: Addressing
            Reporter: Brian DePradine


If a service provider is configured to accept only async requests, and a request comes in that does not contain WS-Addressing headers then the request will not be rejected (as it should be). This is becuase the SOAPMessageBodyBasedDispatcher will be used to dispatch the message, instead of the AddressingBasedDispatcher. This means that the AddressingValidationHandler will not have all of the information it needs, at the time it is invoked, in order to correctly enforce the policy.

Solution:

The AddressingValidationHandler needs to run after the SOAPMessageBodyBasedDispatcher, but the checkAction() operation needs to be moved to the AddressingBasedDispatcher, in order to ensure that it only runs if we have dispatched based on the wsa:Action.

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


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


[jira] Resolved: (AXIS2-3949) AddressingValidationHandler fails to enforce asynchronous only policy

Posted by "Brian DePradine (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian DePradine resolved AXIS2-3949.
------------------------------------

    Resolution: Fixed

> AddressingValidationHandler fails to enforce asynchronous only policy
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-3949
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3949
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Addressing
>            Reporter: Brian DePradine
>            Assignee: Brian DePradine
>
> If a service provider is configured to accept only async requests, and a request comes in that does not contain WS-Addressing headers then the request will not be rejected (as it should be). This is becuase the SOAPMessageBodyBasedDispatcher will be used to dispatch the message, instead of the AddressingBasedDispatcher. This means that the AddressingValidationHandler will not have all of the information it needs, at the time it is invoked, in order to correctly enforce the policy.
> Solution:
> The AddressingValidationHandler needs to run after the SOAPMessageBodyBasedDispatcher, but the checkAction() operation needs to be moved to the AddressingBasedDispatcher, in order to ensure that it only runs if we have dispatched based on the wsa:Action.

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


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


[jira] Assigned: (AXIS2-3949) AddressingValidationHandler fails to enforce asynchronous only policy

Posted by "Brian DePradine (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian DePradine reassigned AXIS2-3949:
--------------------------------------

    Assignee: Brian DePradine

> AddressingValidationHandler fails to enforce asynchronous only policy
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-3949
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3949
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Addressing
>            Reporter: Brian DePradine
>            Assignee: Brian DePradine
>
> If a service provider is configured to accept only async requests, and a request comes in that does not contain WS-Addressing headers then the request will not be rejected (as it should be). This is becuase the SOAPMessageBodyBasedDispatcher will be used to dispatch the message, instead of the AddressingBasedDispatcher. This means that the AddressingValidationHandler will not have all of the information it needs, at the time it is invoked, in order to correctly enforce the policy.
> Solution:
> The AddressingValidationHandler needs to run after the SOAPMessageBodyBasedDispatcher, but the checkAction() operation needs to be moved to the AddressingBasedDispatcher, in order to ensure that it only runs if we have dispatched based on the wsa:Action.

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


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