Spring CAS 示例应用程序

发布于 2024-12-26 07:20:50 字数 57 浏览 2 评论 0原文

任何人都可以与我分享带有 Spring CAS 身份验证的示例应用程序(客户端和服务器配置)。谢谢。

Any one can share me the sample applications with Spring CAS authentication (both client and server configuration). Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

溺深海 2025-01-02 07:20:50

有一个 Spring Security Spring Security 发行版中包含 CAS 示例服务 和 CAS 服务器。 文档讨论了涉及的内容设置各个方面。

使用 Gradle 运行 运行

它们的最简单方法是安装 git 客户端并执行

git clone https://github.com/SpringSource/spring-security

然后你可以运行

./gradlew cas

此时你应该是能够打开

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

./gradlew cas

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文