单点登录 + 弹簧 [英] single signon + spring

查看:35
本文介绍了单点登录 + 弹簧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能告诉我如何在我的 spring 应用程序中实现单点登录.(Tomcat 或 Jboss 服务器)

Can anybody tell me how to implement single signon in my spring application.(Tomcat or Jboss server)

分享任何文档或链接以在我的 spring 应用程序中引入此功能.

share me any documentation or link to bring this feature in my spring app.

我使用的是 spring 2.5.6.

I am using spring 2.5.6 .

请做需要的事.

推荐答案

你需要的是 弹簧安全.

它同时支持 OpenIDCAS 开箱即用,但您需要自己对这些进行一些研究.

It supports both OpenID and CAS out of the box, but you'll need to do some research on your own on those.

如果您只需要基本的 SSO 功能,我可以建议您实现自己的 UsernamePasswordAuthenticationFilter 和/或 AbstractPreAuthenticatedProcessingFilter 并使用 cookie.这个答案将帮助您做到这一点.

If you need just basic SSO functionality I can recommend just implementing your own UsernamePasswordAuthenticationFilter and/or AbstractPreAuthenticatedProcessingFilter and using cookies. This answer will help you do that.

您还应该看看 spring-security docs,然后如果需要,请提出更具体的问题.

You also should have a look at the spring-security docs and then ask a more specific question if you need to.

这篇关于单点登录 + 弹簧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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