问题
How do I configure SSO with the MS Windows logged-on user for a Play Framework web application?
I would like to deploy a Play Framework Java web app in an enterprise environment in which the users expect the authentication to be performed behind the scenes using the MS Windows logged in user. It is important to be able to adapt the java web app behavior depending on who the user is.
I understand this can be configured for JEE apps using Waffle or SPNEGO for example. However, how can I do this for a Play Framework 2.x application? Through packaging as a WAR using play2-war-plugin and deploying on JBOSS Application Server e.g.? If that is good approach, how do I find information on how to fix the configuration?
回答1:
I have created a plugin for Play 2.
It's supporting SSO using kerberos, and fallback to html.
Take a look on it, if you still looking for a solution.
https://github.com/SlyngDK/play-module-ad-sso
来源:https://stackoverflow.com/questions/20102113/windows-logged-on-user-sso-in-play-framework-2