activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefaniuk, Marcin " <marcin.stefan...@credit-suisse.com>
Subject RE: Has anyone connected ActiveMQ to Active Directory?
Date Wed, 02 May 2018 09:05:53 GMT
I've successfully configured ActiveMQ Artemis with LDAP / AD. Example configuration below:

ADLogin {
  org.apache.activemq.artemis.spi.core.security.jaas.LDAPLoginModule required
            debug=true
            initialContextFactory="com.sun.jndi.ldap.LdapCtxFactory"
            connectionURL="ldap://<server>:<port>"
            connectionUsername="<connection_username>"
            connectionPassword="<password>"
            connectionProtocol=s
            authentication=simple
            userBase="<user_base>"
            userSearchMatching="(&(objectclass=Person)(CN={0}))"
            userSearchSubtree=true
            roleBase="<role_base>"
            roleSearchMatching="(member=CN={1},<rest_of_roles_dn>)"
            roleName=CN
            authenticateUser=true;
}

You should familiarize youself with ldapsearch command to experiment with LDAP queries that
fits to your AD structure.

Kind regards
Marcin


=============================================================================== 
Please access the attached hyperlink for an important electronic communications disclaimer:

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html 
=============================================================================== 

Mime
View raw message