activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Wood <christopher_w...@pobox.com>
Subject Re: ActiveMQ 5 - Specifying a broker's destinations in an external file
Date Mon, 11 Jun 2012 15:07:46 GMT
I cribbed from here:

http://activemq.apache.org/security.html#Security-LDAPAuthenticationUsingtheJAASPlugin

And my login.config file looks like this:

LdapConfiguration { 
   org.apache.activemq.jaas.LDAPLoginModule required 
       debug=true 
       initialContextFactory=com.sun.jndi.ldap.LdapCtxFactory 
       connectionURL="ldap://ldap-lab.my.com:389" 
       connectionUsername="cn=mqbroker,ou=services,o=my" 
       connectionPassword=password
       connectionProtocol=s 
       authentication=simple 
       userBase="ou=User,ou=ActiveMQ,ou=systems,o=my" 
       userRoleName=dummyUserRoleName 
       userSearchMatching="(uid={0})" 
       userSearchSubtree=false 
       roleBase="ou=Group,ou=ActiveMQ,ou=systems,o=my" 
       roleName=cn 
       roleSearchMatching="(member:=uid={1})" 
       roleSearchSubtree=true 
       ; 
};


On Mon, Jun 11, 2012 at 08:00:15AM -0700, ndipiazza wrote:
> Christopher,
> 
> Thanks for shedding some light on this with this suggestion. So I'm
> unfortunately not super familiar with this plug-in. So in your case
> "LdapConfiguration" maps back to a configuration in activemq where
> destinations are configured to be looked up from your LDAP server? 
> 
> If you don't mind, can you please show me what the LdapConfiguration element
> looks like for your usage? That would be extremely helpful. 
> 
> -Nicholas 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-5-Specifying-a-broker-s-destinations-in-an-external-file-tp4653166p4653170.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> 

Mime
View raw message