Java + Active Directory - Single Sign On

Asked

Viewed 165 times

1

I was asked to do SSO for a web application in Java.

The idea is that through computer information, the application check in the AD and according to the OR user, he has access to certain modules of the application.

I’ve researched things like SPNEGO, but I don’t understand much, some light?

  • Take a look at this link there that will help you https://github.com/Waffle/waffle Ai has the documentation and how to implement.

  • I implemented something similar a long time ago. If I’m not mistaken, the protocol used to communicate with an AD is LDAP. With it you can connect to the AD, make queries, insert and record data, etc. Some light on what is OR: http://stackoverflow.com/questions/18756688/what-are-cn-ou-dc-in-an-ldap-search I believe basically, what you will have to do, is to build a query that returns this user, and you check if it has the OR that you seek.

1 answer

1

I recommend using the Spring Security SAML. On the site of Spring has a case for you to download and test for you to see how it works. I’ve done this is not a 7 head bug.

  • 1

    Thanks for the reply, but I ended up solving with the waffle

  • Add an answer to your question with your solution, so we can enrich this question/answer and assign the correct answer to the solution

Browser other questions tagged

You are not signed in. Login or sign up in order to post.