[Show all top banners]

nepali8
Replies to this thread:

More by nepali8
What people are reading
Subscribers
:: Subscribe
Back to: Computer/IT Refresh page to view new replies
 Ldap Query
[VIEWED 4495 TIMES]
SAVE! for ease of future access.
Posted on 08-14-15 9:41 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Namaste!

How to determine all the groups a user belongs to (including nested groups). in Java

I have an application that uses ActiveDirecotry authorisation and it has been decided that it needs to support nested AD groups.

MAIN_AD_GROUP
|
|-> SUB_GROUP
|
|-> User

My user is not directly member of (MAIN_AD_GROUP). Your help will be higly appricated.
 
Posted on 08-14-15 10:06 AM     [Snapshot: 26]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

http://stackoverflow.com/questions/570466/java-ldap-determine-if-user-in-a-given-group

http://stackoverflow.com/questions/11260704/how-to-get-all-ldap-groups-of-a-user-including-nested-groups-in-java
 
Posted on 08-14-15 11:00 AM     [Snapshot: 57]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Hi Nepali8;

There is an application called apache directory studio which will help you determine all the attributes or membership of a user in ldap or you can use windows utility call dsquery (which you have to install in your computer).

What is the application that you are trying to integrate with ldap for authorisation to support nested group? Generally most of the application support nested group and you have to enable it via its directory configuration..

Regards
Sports freak
 
Posted on 08-14-15 1:09 PM     [Snapshot: 113]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Hi sports freak,

I am building this login application using spring 4 , which has to authenticate against LDAP server, whether user is present in ldap server(in particular group or not/) . based upon that it needs to let the user to go access that application.

I have authenticated the user in ldap server. It is present in ldap server, now i need to make sure that same user is part of particular group or not?

lets take example.

user is memberof group A, Group A is member of Group B, now i need to find out if user is part of Group B or not?

Hope i clarify the my Task, please let me know more clarification is needed.

Thanks
 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 365 days
Recommended Popular Threads Controvertial Threads
Lets play Antakshari...........
शीर्षक जे पनि हुन सक्छ।
NRN card pros and cons?
What are your first memories of when Nepal Television Began?
TPS Re-registration
TPS Re-registration case still pending ..
Democrats are so sure Trump will win
is Rato Bangala school cheating?
What Happened to Dual Citizenship Bill
Basnet or Basnyat ??
nrn citizenship
H1B fraud
इन्दिरा जोशीको चिन्ता लौच
Sajha has turned into MAGATs nest
Nas and The Bokas: Coming to a Night Club near you
श्राद्द
सेक्सी कविता - पार्ट २
डलराँ कमाएर ने .रु मा उडांउदा !@#
ChatSansar.com Naya Nepal Chat
Why always Miss Nepal winner is Newari??
Nas and The Bokas: Coming to a Night Club near you
राजदरबार हत्या काण्ड बारे....
Mr. Dipak Gyawali-ji Talk is Cheap. US sends $ 200 million to Nepal every year.
Harvard Nepali Students Association Blame Israel for hamas terrorist attacks
TPS Update : Jajarkot earthquake
is Rato Bangala school cheating?
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters