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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content