SSO using SAML 2.0 for Scala Play web application

放肆的年华 提交于 2019-12-23 11:55:19

问题


I am building a scala play web application and I need to build the SSO functionality with an IdP which support SAML v2.0. In addition to SSO, I need to build authorization mechanism within the application based on the roles received from IdP as an attribute of Authentication Assertion message.

I am new to SAML and SSO area. Based on some quick learning about the SAML and available module options in Play scala, I see below options to use with scala play web application,

  • Play-pac4J (for authentication and authorization)
  • play2-auth (for authentication and authorization)
  • Play-pac4J (for authentication) + Deadbolt (for authorization)

If someone having prior experience, please suggest me the best option to build a secure and a quick solution for SSO and authorization in scala play web application.

来源:https://stackoverflow.com/questions/33858451/sso-using-saml-2-0-for-scala-play-web-application

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