Play Framework 2 中的 Windows 登录用户 SSO [英] Windows logged on user SSO in Play Framework 2

查看:14
本文介绍了Play Framework 2 中的 Windows 登录用户 SSO的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用 MS Windows 登录用户为 Play Framework Web 应用程序配置 SSO?

我想在企业环境中部署 Play Framework Java Web 应用程序,在该环境中,用户希望使用 MS Windows 登录用户在后台执行身份验证.能够根据用户是谁来调整 Java 网络应用程序的行为非常重要.

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.

我知道这可以为使用 Waffle 或 SPNEGO 的 JEE 应用程序配置.但是,如何为 Play Framework 2.x 应用程序执行此操作?通过使用 play2-war-plugin 打包为 WAR 并部署在 JBOSS 应用服务器上,例如?如果这是一个好方法,我如何找到有关如何修复配置的信息?

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?

推荐答案

我为 Play 2 创建了一个插件.

I have created a plugin for Play 2.

它支持使用 kerberos 的 SSO,并回退到 html.

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

这篇关于Play Framework 2 中的 Windows 登录用户 SSO的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆