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