You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "isdor sobze (Created) (JIRA)" <ji...@apache.org> on 2012/02/21 21:22:48 UTC
[jira] [Created] (CXF-4126) Can override built-in action on
WSS4JOutInterceptor but seems impossible to add a new custom action on
WSS4JOutInterceptor
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
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
[jira] [Commented] (CXF-4126) Can override built-in action on
WSS4JOutInterceptor but seems impossible to add a new custom action on
WSS4JOutInterceptor
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-4126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13270840#comment-13270840 ]
Daniel Kulp commented on CXF-4126:
----------------------------------
One note: with wss4j 1.5.x (used with CXF <= 2.3.x), there needs to be at least one known action in the list or it won't trigger the other actions. WSS4J 1.6.x is fine.
> 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
[jira] [Commented] (CXF-4126) Can override built-in action on
WSS4JOutInterceptor but seems impossible to add a new custom action on
WSS4JOutInterceptor
Posted by "Freeman Fang (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-4126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242045#comment-13242045 ]
Freeman Fang commented on CXF-4126:
-----------------------------------
Hi,
Could you please elaborate what you have done and what's the problem you encounter?
Thanks
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
> 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
[jira] [Commented] (CXF-4126) Can override built-in action on
WSS4JOutInterceptor but seems impossible to add a new custom action on
WSS4JOutInterceptor
Posted by "Isdor Sobze/NYLIC (Commented) (JIRA)" <ji...@apache.org>.
[ 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)" <ji...@apache.org>
To: isobze@newyorklife.com
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
[jira] [Commented] (CXF-4126) Can override built-in action on
WSS4JOutInterceptor but seems impossible to add a new custom action on
WSS4JOutInterceptor
Posted by "Freeman Fang (Commented) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Resolved] (CXF-4126) Can override built-in action on
WSS4JOutInterceptor but seems impossible to add a new custom action on
WSS4JOutInterceptor
Posted by "Freeman Fang (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-4126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang resolved CXF-4126.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.3.11
2.4.8
2.5.4
2.6.1
> 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
[jira] [Assigned] (CXF-4126) Can override built-in action on
WSS4JOutInterceptor but seems impossible to add a new custom action on
WSS4JOutInterceptor
Posted by "Freeman Fang (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-4126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang reassigned CXF-4126:
---------------------------------
Assignee: Freeman Fang
> 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
[jira] [Commented] (CXF-4126) Can override built-in action on
WSS4JOutInterceptor but seems impossible to add a new custom action on
WSS4JOutInterceptor
Posted by "Freeman Fang (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-4126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13256145#comment-13256145 ]
Freeman Fang commented on CXF-4126:
-----------------------------------
Sure, wiki get updated accordingly.
> 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