Hi,

There are different ways to do that:

a)      using ws-policy - recommended way

b)      using features (WS-Addressing) and security actions configuration 
(security)

c)       configure interceptors in client/endpoint or bus level

d)      add interceptors dynamically for code

I would prefer alternative (a) for WSA and SAML 
(http://cxf.apache.org/docs/ws-securitypolicy.html), but final decision depends 
on your requirements.

Regards,
Andrei.


From: renu gupta [mailto:[email protected]]
Sent: Mittwoch, 19. Februar 2014 16:31
To: [email protected]; Andrei Shakirin
Subject: Information on using Interceptors in Service Side

Hi ,

We are having our own custom service implementation which takes care of 
publishing the wsdl. We were using the Metro for the security feature and wss4j 
for the SAML support. As we are planning to leverage CXF. I have some doubts :
How can we use the interceptors to achieve the particular feature like WS 
Addressing , SAML . Does CXF provides the API's directly which we can hook ?

Thanks,
Renu

Reply via email to