Fuse 6.3 A-MQ extras activemq distribution does not include jetty JAASLoginService

Solution Verified - Updated -

Issue

The JAASLoginService was removed from the jetty-all library between Fuse 6.2.x and Fuse 6.3.x and is not installed in the extras distribution of ActiveMQ by default. Adding the following XML will cause the issue:

    <bean id="ldapLoginService" class="org.eclipse.jetty.jaas.JAASLoginService">
                <property name="name" value="LdapRealm" />
                <property name="LoginModuleName" value="LDAPLogin" />
                <property name="identityService" ref="identityService" />
                <property name="roleClassNames" value="org.eclipse.jetty.jaas.JAASRole" />
    </bean>
    <bean id="identityService" class="org.eclipse.jetty.security.DefaultIdentityService"/>

Environment

  • Red Hat JBoss A-MQ
    • 6.3.x

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.