Is there a way to load group name in SecurityContext during ldap authentication?

2017-07-07 Thread chinababuilla
Currently when AcitveMQ logs in to LDAP, it is creating SecurityContext with UserPrincipal object. Is there a way we can also get the GroupPrincipal corresponding to user from LDAP? -- View this message in context: http://activemq.2283324.n4.nabble.com/Is-there-a-way-to-load-group-name-in-Secur

ActiveMQ - LDAP Custom Authorization need high level steps

2017-07-06 Thread chinababuilla
Hi All, My LDAP (Active Directory) has only users and groups. It does not have any details of Destinations and read/write/admin privilege information. We cannot add to it. We have a service that creates the Destinations on demand during which we also need to configure authorization setting on the

LDAP: userSearchSubtree=true produces Caused by: javax.naming.PartialResultException: Unprocessed Continuation Reference(s)

2017-07-06 Thread chinababuilla
Hi All, I have a requirements for ActiveMQ to authenticate users from LDAP (Active Directory). Users scattered across many groups and search should be performed on all groups and userBase specified below. Here is the details: Exception: *Caused by: javax.naming.PartialResultException: Unprocess

Re: How to enforce authorization during session.createQueue() / createTopic()?

2017-07-05 Thread chinababuilla
Thank Tim for the response. Yes I agree. But I wanted to check if there is any ActiveMQ Administration API that contacts broker while creating destination? Do you think there exists such API with ActiveMQ? -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-enforce

Re: How to enforce authorization during session.createQueue() / createTopic()?

2017-07-05 Thread chinababuilla
Hi Tim, I am using ActiveMQ. -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-enforce-authorization-during-session-createQueue-createTopic-tp4728228p4728230.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

How to enforce authorization during session.createQueue() / createTopic()?

2017-07-05 Thread chinababuilla
Hi All, I have a requirement such that I need to know if the user has permission to create a destination or not when I call session.createQueue() or session.createTopic(). The default behavior is we will know that when creating a consumer or producer but not when creating the destination? Is there