Spring LDAP, check the membership of user in specified group

Viewed 1485


I'm creating an app with a special privileges for a user which is in specified group in LDAP, I'm logging in using spring security, but I have no idea how to check the group of the user.

The goal is to show all of the ldap users table with data, and if someone belongs to a group in ldap it shows also buttons to change that data.

So how to check belonging to group of an LDAP user?

Greetings, Rafał !

1 Answers
Related