You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (Commented) (JIRA)" <ji...@apache.org> on 2012/04/17 11:53:18 UTC

[jira] [Commented] (CXF-4126) Can override built-in action on WSS4JOutInterceptor but seems impossible to add a new custom action on WSS4JOutInterceptor

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

Freeman Fang commented on CXF-4126:
-----------------------------------

Hi,

I just commit a testcase which demonstrate adding new custom action on WSS4JOutInterceptor also works.
I guess the key part you MIGHT miss is that if you add a custom action with new key int number 12345, you must also put action name as string "12345". Take a look at the testAddCustomAction() to get more details.
http://svn.apache.org/viewvc?rev=1326956&view=rev for trunk
http://svn.apache.org/viewvc?rev=1326959&view=rev for 2.5.x branch
http://svn.apache.org/viewvc?rev=1326963&view=rev for 2.4.x branch
http://svn.apache.org/viewvc?rev=1326967&view=rev for 2.3.x branch

Freeman

                
> Can override built-in action  on WSS4JOutInterceptor but seems impossible to add a new custom action on WSS4JOutInterceptor 
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-4126
>                 URL: https://issues.apache.org/jira/browse/CXF-4126
>             Project: CXF
>          Issue Type: Test
>          Components: WS-* Components
>         Environment: any
>            Reporter: isdor sobze
>            Assignee: Freeman Fang
>              Labels: patch
>
> CXF documentation at [http://cxf.apache.org/docs/ws-security.html (#Custom Action)]claims that you can configure WSS4JOutInterceptor to override a built-in action with a custom actions or add your own custom action.
> Overriding built-in action works fine, but adding a new action does not. The current WSS4JOutInterceptor Java code 
> probably need modifications to allow adding own custom actions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira