0

I have a very simple web app on a linux box that I need to secure when they log into the application itself using Active Directory. Right now I have figured out how to authenticate a user's username and password using this tutorial http://www.javaxt.com/Tutorials/Windows/How_to_Authenticate_Users_with_Active_Directory

But I still can't seem to figure out how to check if they are in a specific group. This is my first enterprise development project, so I've never had to wrangle with AD or LDAP before. Any suggestions on how to build upon the tutorial to incorporate a check for a group?

  • I don't think it's a duplicate. The application runs on Linux and I am interested in authenticating users as they log into the web app, not based on the current logged in user on their Windows machine. – SQLSuperVillain Dec 07 '15 at 15:43
  • The accepted answer to that question has a section about using kerberos (via spring security) to do the same thing in a non-windows environment. – azurefrog Dec 07 '15 at 16:15

0 Answers0