[jboss-user] [JBoss Web Services] - Re: WS-Security without Spring, without WS-Policy and without the CXF annotations?

Alessio Soldano do-not-reply at jboss.com
Tue Jul 31 04:23:07 EDT 2012


Alessio Soldano [https://community.jboss.org/people/asoldano] created the discussion

"Re: WS-Security without Spring, without WS-Policy and without the CXF annotations?"

To view the discussion, visit: https://community.jboss.org/message/751134#751134

--------------------------------------------------------------
Hi Matt,
WS-Security is configurable in Apache CXF in different ways: 1) annotation (server side) 2) spring descriptor (client and server side) 3) direct CXF api usage (client side) 4) policy engine (client and server side).
The JBossWS preferred method for configuring ws-security is using policies, but the other approaches are still usable.
Spring is not installed by default on JBoss AS 7 and not strictly required when using jbossws-cxf because it's actually used for configuration only, and pretty much anything can be configured differently (see [1] and subpages). You can still install Spring in the org.springframework.spring module (either manually or using the jbossws-cxf install) and use it, if it's your only acceptable approach.
To be honest, achieving a completely agnostic configuration when using WS-Security is not completely doable; the policy approach is probably the closest one to the target, if you can use that.

[1]  https://docs.jboss.org/author/display/JBWS/Advanced+User+Guide https://docs.jboss.org/author/display/JBWS/Advanced+User+Guide
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/751134#751134]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120731/40715ddd/attachment-0001.html 


More information about the jboss-user mailing list