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

痞子三分冷 提交于 2020-01-22 15:05:47

问题


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..


回答1:


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.



来源:https://stackoverflow.com/questions/29027961/can-i-implement-both-saml-and-basic-spring-security-within-an-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!