How to add a fallback login module to the Fabric managed JAAS authentication realm 'karaf' in JBoss Fuse 6.1?

Solution Verified - Updated -

Issue

We want to configure JAAS authentication in Karaf so that the default ZookeeperLoginModule is used but it falls back to using an LDAP based login module if the user is not defined in the ZookeeperLoginModule. In other words, if a user is not found in Zookeeper, it is looked up in LDAP before giving up.
How can this be achieved?

Environment

  • JBoss Fuse 6.1

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