Author |
Message
|
abhyyy |
Posted: Thu Oct 17, 2013 7:54 am Post subject: LDAP- How to check which Group does User1 belongs to ? |
|
|
Voyager
Joined: 29 Sep 2011 Posts: 83
|
Hi Friends,
I am required to implement an architecture where following needs to be done
-----------------
1. Message Flow will receive a SOAP message with user1 's credentials.
2. Message flow needs to take user1 's credentials and query it in Microsoft Active Directory and retrieve the name of the group to which it belongs to.
I know we can authenticate using WMB-LDAP integration but Is it possible to retrieve the group name to which user belongs to ?
Thanks. _________________ ----------------------
NeVeR StOp LeaRnInG. |
|
Back to top |
|
 |
abhyyy |
Posted: Thu Oct 17, 2013 9:04 pm Post subject: |
|
|
Voyager
Joined: 29 Sep 2011 Posts: 83
|
Friends,
Any Idea on this ? _________________ ----------------------
NeVeR StOp LeaRnInG. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Oct 17, 2013 9:48 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
|
Back to top |
|
 |
abhyyy |
Posted: Thu Oct 17, 2013 9:59 pm Post subject: |
|
|
Voyager
Joined: 29 Sep 2011 Posts: 83
|
Thanks a lot for your reply.
For Local testing purposes , I have performed following steps :
1. Already installed Apache Directory Server.
2. Added User and Group.
3. Configured Broker for LDAP.
I am not asking "how to query LDAP" , I am asking if we can Query LDAP from Message Broker to get a list of groups to which a particular user belongs to.
I have only used LDAP for authentication/authorization purposes till now, not for what I've mentioned above.
Sorry, but the links provided by you don't help much in that. _________________ ----------------------
NeVeR StOp LeaRnInG. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Oct 17, 2013 10:12 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
abhyyy wrote: |
I am not asking "how to query LDAP" , I am asking if we can Query LDAP from Message Broker to get a list of groups to which a particular user belongs to. |
And how is one different from the other? If you don't have a canned query (like the PEP node) you will need to float your own...
There is a documented java interface to the LDAP....
Have you looked at https://www.google.com/#q=java%20ldap%20api and
https://www.google.com/#q=java+ldap+tutorial
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
ganesh |
Posted: Fri Oct 18, 2013 11:21 am Post subject: |
|
|
Master
Joined: 18 Jul 2010 Posts: 294
|
Quote: |
I am asking if we can Query LDAP from Message Broker to get a list of groups to which a particular user belongs to.
|
Why would you want to do that from message broker? When you say you have done this--->
Quote: |
Already installed Apache Directory Server.
|
|
|
Back to top |
|
 |
|