JAAS security with Jetty can not work

Solution Verified - Updated -

Issue

Using JAAS with jetty per Securing the Camel Jetty Component to setup a web service that uses Basic HTTP authentication. Implemented using the instructions above, but get the following error.

java.lang.RuntimeException: java.lang.ClassNotFoundException: org.apache.karaf.jaas.modules.RolePrincipal not found from
 bundle [camelJettyTest]

Environment

  • Fuse ESB 7.1
  • JBoss Fuse 6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.