title: how to authenticate user in JAX-RS using apache CXF?
body: <p>I am using apache CXF for JAX-RS application.I followed the example in the url '<a href="http://www.javatips.net/blog/2012/02/cxf-restful-tutorial" rel="nofollow">http://www.javatips.net/blog/2012/02/cxf-restful-tutorial</a>'.....
  Finally,I am hosting the application as 'war' in tomcat under 'webapps'?...</p>
  
  <p>How to inject security(simple authorization and authentication) in JAX-RS?
  Basically,my aim is to validate a 'user' role before catering service request?</p>
  
  <p>Can anyone provide a neat example?</p>