Rails rails 中如何做 Kerberos 或 NTLM 认证

carl · February 13, 2012 · Last by robin622 replied at April 20, 2012 · 3121 hits

大家好,rails 程序跑在 apache+mongrel 上,想做 Kerberos 或 NTLM 认证,大家有做过的吗?有的话,有相关的教程吗?谢谢!

Kerberos 认证是在 HTTP 协议层,用 apache 的 mod_kerb_auth.进入到 rails 后,你需要从 session 里拿到用户名。 username = request.env['REMOTE_USER'] that's all.

this great, you are really helpful xds2000

You need to Sign in before reply, if you don't have an account, please Sign up first.