Search code examples
spring-securityspring-saml

Connection to rest web service


I have spring MVC rest application and front application that consumes services from rest application. If not connected user try to use service from rest app then connection web service will be invoked. Connection webservice use spring saml to connect user to Active directory. How can I propagate the connection to the front application?


Solution

  • To implement that I use Spring oauth2. My Rest Api is the resource server and the client Api is oauth2 client. Hope that will help