'Spring Security SAML ADFS on NON Spring project

I have a web application NOT implemented on Spring Boot or Spring itself. It has no Spring whatsoever, it was made using RESTEasy running on Tomcat.

I'm supposed to add ADFS authentication to this web application through the use of Spring's Security SAML Extension.

I've seen a lot of projects online that implement this feature but all of them use Spring Boot or run on Spring. At the same time I've seen mentions of being able to implement Spring SAML without having a Spring project. So I'm a little confused now. Is this feat achievable?

If so, could you guide me on how to do it?

  • Which Maven dependencies do I need exactly?
  • Which web.xml configs do I need?
  • Which Beans do I need to implement?

Thank you in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source