[
https://issues.apache.org/jira/browse/CXF-4126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13255566#comment-13255566
]
Isdor Sobze/NYLIC commented on CXF-4126:
----------------------------------------
It works. The key part as you said is that the key int number 12345 you
must also put action name as string "1235".
The apache cxf documentation at (
http://cxf.apache.org/docs/ws-security.html) probably needs to be updated
with this information.
Thanks for your help.
Isdor Sobze
AVP Architecture
212-576-5945
From: "Freeman Fang (Commented) (JIRA)" <[email protected]>
To: [email protected]
Date: 04/17/2012 05:53 AM
Subject: [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
to add a new custom action on WSS4JOutInterceptor
----------------------------------------------------------------------------------------------------------------------------
(#Custom Action)]claims that you can configure WSS4JOutInterceptor to
override a built-in action with a custom actions or add your own custom
action.
The current WSS4JOutInterceptor Java code
--
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
> 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
> Fix For: 2.6.1, 2.5.4, 2.4.8, 2.3.11
>
>
> 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