hzbarcea/memories — pull request #1 by sberyozkin (2011-11-07 18:07:39+00:00)
Title: Utility Karaf JAAS module 

Users.properties contained in this module (update as needed) would have to be copied to karaf/etc/ and the resulting bundle will have to be deployed into Karaf. Next, for CXF endpoints, add org.apache.cxf.interceptor.security.JAASLoginInterceptor (SOAP) or org.apache.cxf.jaxrs.security.JAASAuthenticationFilter (RS) and set a contextName ("karaf") and rolePrefix properties on it ("ROLE_", etc) and that is it.

Adding CXF SecureAnnnotationsInterceptor or SimpleAuthorixingInterceptor will also let you do the authorization based on the resulting JAAS SecurityContext.