Spring CAS 示例应用程序
任何人都可以与我分享带有 Spring CAS 身份验证的示例应用程序(客户端和服务器配置)。谢谢。
Any one can share me the sample applications with Spring CAS authentication (both client and server configuration). Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有一个 Spring Security Spring Security 发行版中包含 CAS 示例服务 和 CAS 服务器。 文档讨论了涉及的内容设置各个方面。
使用 Gradle 运行 运行
它们的最简单方法是安装 git 客户端并执行
git clone https://github.com/SpringSource/spring-security
然后你可以运行
此时你应该是能够打开
https://localhost:8443/cas-sample/
然后就可以使用用户名登录密码棒/棒
在 Spring Tool Suite 中运行
也可以运行使用 Spring 工具套件。有关详细说明,请参阅在 Spring Tool Suite 中运行 Spring Security 的教程示例 获取基本项目设置。接下来,您需要遵循 运行 Spring 中的特殊说明STS 中的安全性 CAS 和 PreAuth 示例,以使 CAS 应用程序正常工作。
There is a Spring Security CAS Sample service and CAS Server included in the Spring Security distribution. The documentation discusses what is involved to set each aspect up.
Running With Gradle
The easiest way to run them both is to install a git client and perform
git clone https://github.com/SpringSource/spring-security
Then you can run
At that point you should be able to open
https://localhost:8443/cas-sample/
Then you can login with the username password rod/rod
Running in Spring Tool Suite
You can also run it using Spring Tool Suite. For detailed instructions see Running Spring Security's Tutorial Sample in Spring Tool Suite to get the basic project setup. Next, you will need to follow the special instructions in Running Spring Security's CAS and PreAuth Samples in STS to get the CAS application to properly work.