Forum Home » Fuse Distributions » Fuse Services Framework

Thread: CXF JAXRS Security

 
This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 0
klimperos

Posts: 12
Registered: 07/19/10
CXF JAXRS Security
Posted: Sep 23, 2010 10:04 PM
 
  Click to reply to this thread Reply
Hi,

I am attempting to modify the JAX-RS example to add a <security-constraint> tag with authorization constraints, login-config tags, etc. so that I can set up roles and users for the resources.

Generally, this configuration goes into a web.xml. Can I just drop a web.xml into the cxf jaxrs example bundle under WEB-INF/web.xml? Do I need a jetty.xml file to configure a realm.properties file to identify the users and their roles,or can these items be inserted into beans.xml.

Is there an example and/or documentation that describes JAX-RS resource security configuration in general for humble users of FUSE/CXF?

Thank you.

Kevin Limperos