使用 Confluence wiki 单点登录

发布于 2024-08-21 18:06:41 字数 470 浏览 7 评论 0原文

我想使用我们当前的内联网作为主要应用程序来验证用户身份。 Confluence 应该能够准备好我从 Intranet 创建的 cookie,以自动对用户进行身份验证,而不提示他们输入用户名/密码。我在这里读了一些关于 seraph 的内容: http://docs.atlassian.com/ atlassian-seraph/latest/sso.html,但是我不太确定如何开始。我下载了 zip 并创建了配置文件。但是,一旦我创建了类,我应该将它们放置在哪个文件夹中,以及如何实际编译它们?我是 Java 新手。

我不想使用 Crowd,因为它非常昂贵,如果我们可以自己构建 SSO,那么我们可以节省很多钱。

任何帮助表示赞赏。

我在 Windows 上使用 3.1.1。

I would like to use our current intranet as the main application to authenticate users. Confluence should be able to ready the cookie I created from the intranet to authenticate the user automatically without prompting them for a username/password. I read a bit about seraph here: http://docs.atlassian.com/atlassian-seraph/latest/sso.html, however I am not really sure how to get started. I downloaded the zip and created the config files. However once I have created the classes in which folder do I place them and how do I actually compile them? I am new to Java.

I would prefer not use Crowd, since its very expensive and if we can build the SSO on our own, then we can save a lot of money.

Any help is appreciated.

I am using 3.1.1 on Windows.

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

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

发布评论

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

评论(1

谁对谁错谁最难过 2024-08-28 18:06:41

最简单的集成方法是复制 + 修改 CAS 客户端(从上面的页面链接)。如果您对 Java 完全陌生,那么有一点学习曲线 - 您需要创建一个 JAR 文件,并将其复制到 $CONF_HOME/confluence/WEB-INF/lib 目录 中,以及修改您的 seraph-config.xml

我不确定能否在这里为您提供有关如何构建 JAR 文件的完整教程,但 CAS 客户端使用 Ant,因此如果您要修改的是该内容,请安装 Java 和 Ant 并运行“ant build.gradle”。 xml”在目录中。

希望这有某种意义:-)

The simplest way to integrate is to copy + modify the CAS client, linked from the page above. If you're completely new to Java, there's a bit of a learning curve - you need to create a JAR file which you copy into the $CONF_HOME/confluence/WEB-INF/lib directory, along with modifying your seraph-config.xml.

I'm not sure I can give you a complete tutorial on how to build a JAR file here, but the CAS client uses Ant, so if that's what you're modifying, install Java and Ant and run "ant build.xml" in the directory.

Hope that makes some sort of sense :-)

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