[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 5452 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
TPS Re-registration case still pending ..
TPS Re-registration
What are your first memories of when Nepal Television Began?
निगुरो थाहा छ ??
ChatSansar.com Naya Nepal Chat
Basnet or Basnyat ??
Sajha has turned into MAGATs nest
NRN card pros and cons?
Toilet paper or water?
TPS EAD auto extended to June 2025 or just TPS?
Biden out, Trump next president, so what’s gonna happen to TPS, termination?
and it begins - on Day 1 Trump will begin operations to deport millions of undocumented immigrants
मन भित्र को पत्रै पत्र!
Will MAGA really start shooting people?
Democrats are so sure Trump will win
Tourist Visa - Seeking Suggestions and Guidance
From Trump “I will revoke TPS, and deport them back to their country.”
I hope all the fake Nepali refugee get deported
Anybody gotten the TPS EAD extension alert notice (i797) thing? online or via post?
Top 10 Anti-vaxxers Who Got Owned by COVID
Nas and The Bokas: Coming to a Night Club near you
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