tag:blogger.com,1999:blog-6262128735818493674.post7808289699847281238..comments2024-03-28T20:31:39.734+05:30Comments on Learning the code way: Handlers and Interceptors in CXF - Are they related ?Robin Varghesehttp://www.blogger.com/profile/00841917517097216645noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-6262128735818493674.post-43449223009132928162023-09-25T06:44:02.494+05:302023-09-25T06:44:02.494+05:30This is awesoomeThis is awesoomeilmu ekonomihttps://ekonomizarmi.blogspot.com/noreply@blogger.comtag:blogger.com,1999:blog-6262128735818493674.post-38353283850589300942016-11-29T19:04:23.620+05:302016-11-29T19:04:23.620+05:30Nice article bro, thxNice article bro, thxAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6262128735818493674.post-84763223749651328762014-06-01T15:53:36.396+05:302014-06-01T15:53:36.396+05:30Thanks for your article :-).
I have a very concre...Thanks for your article :-).<br /><br />I have a very concrete doubt: In my client I receive a WSDL with a policy for usernameToken. That policy also has Nonce and Created.<br /><br />Apache CXF detects policy on WSDL and launches PolicyInterceptor. Even if you are using WSS4JOutInterceptor, WSSecurityPolicyLoader will load UsernameTokenInterceptorProvider, That turns into triggering UsernameTokenInterceptor to build security header.<br /><br />Problem is that UsernameTokenInterceptor don´t check WSDL policy nonce or created and therefore, doesn´t use UsernameToken "addNonce" and "addCreated" methods.<br /><br />Do you have any idea how can I add Nonce and Created to security header? As I said, WSS4JOutInterceptor is not valid because UsernameTokenInterceptor is launched (and then you will have two security headers).<br /><br />Regards and thanks again for you article.Jandrohttps://www.blogger.com/profile/12327978980202973877noreply@blogger.com