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 5400 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
शीर्षक जे पनि हुन सक्छ।
डीभी परेन भने खुसि हुनु होस् ! अमेरिकामाधेरै का श्रीमती अर्कैसँग पोइला गएका छन् !
What are your first memories of when Nepal Television Began?
Sajha Poll: नेपालका सबैभन्दा आकर्षक महिला को हुन्?
ChatSansar.com Naya Nepal Chat
NRN card pros and cons?
TPS Re-registration case still pending ..
Basnet or Basnyat ??
TPS Re-registration
निगुरो थाहा छ ??
Nas and The Bokas: Coming to a Night Club near you
Toilet paper or water?
Anybody gotten the TPS EAD extension alert notice (i797) thing? online or via post?
अमेरिकामा छोरा हराएको सूचना
ढ्याउ गर्दा दसैँको खसी गनाउच
Sajha Poll: Who is your favorite Nepali actress?
Do nepalese really need TPS?
Problems of Nepalese students in US
nrn citizenship
TPS EAD auto extended to June 2025 or just TPS?
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.
TPS Update : Jajarkot earthquake
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