[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 5462 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 200 days
Recommended Popular Threads Controvertial Threads
ChatSansar.com Naya Nepal Chat
TPS Re-registration case still pending ..
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?
Problems of Nepalese students in US
TPS EAD auto extended to June 2025 or just TPS?
whats wrong living with your parents ?
Mamta kafle bhatt is still missing
Ajay Kumar Dev sentenced to 378 yrs
Why Americans reverse park?
Now Trump is a convicted criminal .
Tourist Visa - Seeking Suggestions and Guidance
TPS advance parole Travel document i-131, Class of Admission ?
Nepali Passport Renewal
Biden said he will issue new Employment visa for someone with college degree and job offers
To Sajha admin
TPS Renewal Reregistration
मैले नबुझेका केहि गीत का lyrics हरु
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