Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can I implement both SAML and basic spring security within an application?

I have requirement for our application where we need to implement Spring SAML within our app to enable federated SSO for one customer. However we need to maintain existing login flow using spring-security for other customer.

So my question is can we have two security mechanism for an web application so that it will be treated as multi-tenancy.

Can i implement OAuth and SAML in same application.

thanks in advance..

like image 334
ManojP Avatar asked Mar 13 '15 08:03

ManojP


People also ask

How do I add security to my Spring application?

For adding a Spring Boot Security to your Spring Boot application, we need to add the Spring Boot Starter Security dependency in our build configuration file. Maven users can add the following dependency in the pom. xml file. Gradle users can add the following dependency in the build.


1 Answers

Yes, you can combine your existing password authentication with SAML. See the sample application of Spring SAML for details - it contains both of the methods combined. It is also possible to include OAuth use-cases, but I'm not aware of any guide for it.

like image 163
Vladimír Schäfer Avatar answered Sep 30 '22 03:09

Vladimír Schäfer