【文件属性】:
文件名称:play-module-ad-sso:为 kerberos SSO 播放 2 模块
文件大小:53KB
文件格式:ZIP
更新时间:2021-06-10 16:05:26
Java
播放模块 AD SSO
这是 kerberos SSO 的 play 2.3 模块,支持回退。
它还包含一个简单的 ldap 类,用于获取用户详细信息并使用用户名和密码进行身份验证。
这是一个简单的示例,说明如何保护
public class Application extends Controller {
@Secured ( INF = Login . class) // Annotation telling to protect this site. INF is the implementation of the SecuredInf, used to integrate to your pproject.
public static Result index () {
return ok(index . render( " Your new app
【文件预览】:
play-module-ad-sso-master
----sample()
--------conf()
--------app()
--------build.sbt(261B)
--------.gitignore(178B)
--------project()
--------public()
----app()
--------dk()
----build.sbt(339B)
----.gitignore(146B)
----project()
--------plugins.sbt(167B)
--------build.properties(18B)
----README.md(2KB)