Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-2036

A-MQ extras activemq distribution does not include jetty JAASLoginService

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBoss A-MQ 6.3.x
    • JBoss A-MQ 6.3
    • jaas
    • None
    • Hide

      Add the JAASLoginService to ${AMQ_HOME/conf/jetty.xml

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

      The following can be used to resolve the issue:

      cp ${AMQ_HOME}/system/org/eclipse/jetty/jetty-jaas/9.2.19.v20160908/jetty-jaas-9.2.19.v20160908.jar ${AMQ_HOME}/extras/apache-activemq-5.11.0.redhat-630187/lib/web/
      
      Show
      Add the JAASLoginService to ${AMQ_HOME/conf/jetty.xml ... <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" /> ... The following can be used to resolve the issue: cp ${AMQ_HOME}/system/org/eclipse/jetty/jetty-jaas/9.2.19.v20160908/jetty-jaas-9.2.19.v20160908.jar ${AMQ_HOME}/extras/apache-activemq-5.11.0.redhat-630187/lib/web/

      The jetty JAAS classes are no longer included in the jetty-all library; the jetty-jaas library must be installed as well.

            Unassigned Unassigned
            rhn-support-shiggs Stephen Higgs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: