You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Alexis Midon (JIRA)" <ji...@apache.org> on 2008/11/07 16:25:05 UTC
[jira] Created: (ODE-415) support ws-security for Process services
support ws-security for Process services
----------------------------------------
Key: ODE-415
URL: https://issues.apache.org/jira/browse/ODE-415
Project: ODE
Issue Type: Bug
Components: Axis2 Integration
Reporter: Alexis Midon
Assignee: Alexis Midon
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Work stopped: (ODE-415) support ws-security for Process
services
Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on ODE-415 stopped by Alexis Midon.
> support ws-security for Process services
> ----------------------------------------
>
> Key: ODE-415
> URL: https://issues.apache.org/jira/browse/ODE-415
> Project: ODE
> Issue Type: Bug
> Components: Axis2 Integration
> Reporter: Alexis Midon
> Assignee: Alexis Midon
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ODE-415) support ws-security for Process
services
Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670987#action_12670987 ]
Alexis Midon commented on ODE-415:
----------------------------------
Backward compatibility warning: axis2.xml does not use ODEAxisDispatcher anymore. This class has been deleted and replaced by 2 new dispatchers: ODEAxis*Service*Dispather and ODEAxis*Operation*Dispatcher. The uptodate axis2.xml is shipped with PXE but if you have a custom axis2.xml, you need to update your file as follows:
<!-- <handler name="ODEAxisDispatcher" class="org.apache.ode.axis2.hooks.ODEAxisDispatcher"/> -->
<!-- ODEAxisDispatcher is now equivalent to ODEAxisServiceDispatcher + ODEAxisOperationDispatcher -->
<handler name="ODEAxisServiceDispatcher"
class="org.apache.ode.axis2.hooks.ODEAxisServiceDispatcher"/>
<handler name="ODEAxisOperationDispatcher"
class="org.apache.ode.axis2.hooks.ODEAxisOperationDispatcher"/>
The main reason for that is that the Security phase needs the service to be resolved, but we need the body to resolve the operation. So if the body is encrypted, we have a catch-22.
The solution is to plsit the dispatcher into 2 distinct dispatchers. One for the service, invoked *before* the Security phase ; one for the operation, invoked *after* the Secutiry phase.
> support ws-security for Process services
> ----------------------------------------
>
> Key: ODE-415
> URL: https://issues.apache.org/jira/browse/ODE-415
> Project: ODE
> Issue Type: Bug
> Components: Axis2 Integration
> Reporter: Alexis Midon
> Assignee: Alexis Midon
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ODE-415) support ws-security for Process
services
Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697351#action_12697351 ]
Alexis Midon commented on ODE-415:
----------------------------------
The property security.policy.file can now be used to apply a policy to a process service.
r763482
> support ws-security for Process services
> ----------------------------------------
>
> Key: ODE-415
> URL: https://issues.apache.org/jira/browse/ODE-415
> Project: ODE
> Issue Type: Bug
> Components: Axis2 Integration
> Reporter: Alexis Midon
> Assignee: Alexis Midon
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Work started: (ODE-415) support ws-security for Process
services
Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on ODE-415 started by Alexis Midon.
> support ws-security for Process services
> ----------------------------------------
>
> Key: ODE-415
> URL: https://issues.apache.org/jira/browse/ODE-415
> Project: ODE
> Issue Type: Bug
> Components: Axis2 Integration
> Reporter: Alexis Midon
> Assignee: Alexis Midon
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (ODE-415) support ws-security for
Process services
Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668318#action_12668318 ]
alexismidon edited comment on ODE-415 at 2/5/09 6:56 PM:
----------------------------------------------------------
Unit tests are working.
Todo items:
. [DONE] know why the wsa action is required and get ride of it. See org.apache.axis2.client.Options#setAction, l97
. [DONE] refactor ODEAxisDispatcher to avoid calling twice the findOperation method. Actually we need the dispatcher before the security phase to resolve the service, and after the security phase to resolve the operation.
was (Author: alexismidon):
Unit tests are working.
Todo items:
. know why the wsa action is required and get ride of it. See org.apache.axis2.client.Options#setAction, l97 [DONE]
. refactor ODEAxisDispatcher to avoid calling twice the findOperation method. Actually we need the dispatcher before the security phase to resolve the service, and after the security phase to resolve the operation. [DONE]
> support ws-security for Process services
> ----------------------------------------
>
> Key: ODE-415
> URL: https://issues.apache.org/jira/browse/ODE-415
> Project: ODE
> Issue Type: Bug
> Components: Axis2 Integration
> Reporter: Alexis Midon
> Assignee: Alexis Midon
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ODE-415) support ws-security for Process services
Posted by "Tammo van Lessen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tammo van Lessen updated ODE-415:
---------------------------------
Fix Version/s: 1.3.5
> support ws-security for Process services
> ----------------------------------------
>
> Key: ODE-415
> URL: https://issues.apache.org/jira/browse/ODE-415
> Project: ODE
> Issue Type: Bug
> Components: Axis2 Integration
> Reporter: Alexis Midon
> Assignee: Alexis Midon
> Fix For: 1.3.5
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Issue Comment Edited: (ODE-415) support ws-security for
Process services
Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668318#action_12668318 ]
alexismidon edited comment on ODE-415 at 2/5/09 6:55 PM:
----------------------------------------------------------
Unit tests are working.
Todo items:
. know why the wsa action is required and get ride of it. See org.apache.axis2.client.Options#setAction, l97 [DONE]
. refactor ODEAxisDispatcher to avoid calling twice the findOperation method. Actually we need the dispatcher before the security phase to resolve the service, and after the security phase to resolve the operation. [DONE]
was (Author: alexismidon):
Unit tests are working.
Todo items:
. know why the wsa action is required and get ride of it. See org.apache.axis2.client.Options#setAction, l97
. refactor ODEAxisDispatcher to avoid calling twice the findOperation method. Actually we need the dispatcher before the security phase to resolve the service, and after the security phase to resolve the operation.
> support ws-security for Process services
> ----------------------------------------
>
> Key: ODE-415
> URL: https://issues.apache.org/jira/browse/ODE-415
> Project: ODE
> Issue Type: Bug
> Components: Axis2 Integration
> Reporter: Alexis Midon
> Assignee: Alexis Midon
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ODE-415) support ws-security for Process
services
Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668318#action_12668318 ]
Alexis Midon commented on ODE-415:
----------------------------------
Unit tests are working.
Todo items:
. know why the wsa action is required and get ride of it. See org.apache.axis2.client.Options#setAction, l97
. refactor ODEAxisDispatcher to avoid calling twice the findOperation method. Actually we need the dispatcher before the security phase to resolve the service, and after the security phase to resolve the operation.
> support ws-security for Process services
> ----------------------------------------
>
> Key: ODE-415
> URL: https://issues.apache.org/jira/browse/ODE-415
> Project: ODE
> Issue Type: Bug
> Components: Axis2 Integration
> Reporter: Alexis Midon
> Assignee: Alexis Midon
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ODE-415) support ws-security for Process
services
Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671274#action_12671274 ]
Alexis Midon commented on ODE-415:
----------------------------------
Now, in both trunk and 1.X, you can add a policy on a process service. To do that simply wrap the policy in a service.xml document and save that file as ${myprocess}/${my_process_service_localname}.axis2
Here is an example:
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2-war/src/test/resources/TestRampartPolicy/secured-processes/sample01-service.xml?view=markup
A few things to be aware of:
ODE-510 - If you want to embed the policy in the wsdl, you need to use axis2 1.41 or higher. As of 2/6/09, only axis2 trunk uses axis2 1.41.
ODE-509 - if you use axis2 1.41 or higher, you cannot encrypt the body of the requests. Check the ODE-509 for details
> support ws-security for Process services
> ----------------------------------------
>
> Key: ODE-415
> URL: https://issues.apache.org/jira/browse/ODE-415
> Project: ODE
> Issue Type: Bug
> Components: Axis2 Integration
> Reporter: Alexis Midon
> Assignee: Alexis Midon
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.