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

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.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.