简体   繁体   English

Glassfish 4.1 与 Salesforce SSO over SAML

[英]Glassfish 4.1 with Salesforce SSO over SAML

I hope you're doing well.我希望你一切都好。

I'm facing some issues migrating applications from Weblogic to Glassfish 4.1 and, I'm quite new with the Glassfish server.我在将应用程序从 Weblogic 迁移到 Glassfish 4.1 时遇到了一些问题,而且我对 Glassfish 服务器还是很陌生。

I will try to explain what I'm doing and what I've found so far on googling.我将尝试解释我在做什么以及到目前为止我在谷歌上发现了什么。

There are some applications in Weblogic server that are set up to use SSO (SAML with Salesforce as Identity Provider), and Weblogic provides an easy out-of-the-box configuration to do that and I need to do the same but in Glassfish. Weblogic 服务器中有一些应用程序设置为使用 SSO(使用 Salesforce 作为身份提供者的 SAML),Weblogic 提供了一个简单的开箱即用配置来做到这一点,我需要在 Glassfish 中做同样的事情。

By my researches I found out that Glassfish provides SSO for the applications deployed on the same Virtual Server and doesn't have any configuration related to Third Parties for using SSO over SAML and, I should use tools like OpenAM, Shibboleth or similar as Service Provider and they must be deployed on Apache Tomcat.通过我的研究,我发现 Glassfish 为部署在同一虚拟服务器上的应用程序提供 SSO,并且没有任何与第三方相关的配置以通过 SAML 使用 SSO,我应该使用 OpenAM、Shibboleth 或类似的工具作为服务提供商并且它们必须部署在 Apache Tomcat 上。

I found the following discussion in the stackoverflow but is quite old (9 years ago): OpenSSO/OpenAM alternatives我在 stackoverflow 中找到了以下讨论,但已经很老了(9 年前): OpenSSO/OpenAM Alternatives

Also, I found another link related to Glassfish + Salesforce but is quite old as well (from 2012): SSO using SAML2 updated document另外,我发现了另一个与 Glassfish + Salesforce 相关的链接,但也很旧(从 2012 年开始): SSO using SAML2 updated document

So, my questions are:所以,我的问题是:

1 - My applications are deployed in Glassfish, and I'd like to know what's the best approach or alternatives to set up SSO with Salesforce as Identity Provider over SAML (could be free and paid)? 1 - 我的应用程序部署在 Glassfish 中,我想知道使用 Salesforce 作为 SAML 上的身份提供者设置 SSO 的最佳方法或替代方案是什么(可以免费和付费)?

2 - Is there any external tool that I can install/deploy in Glassfish instead of Apache Tomcat to configure the SSO over SAML? 2 - 是否有任何外部工具可以在 Glassfish 中安装/部署,而不是 Apache Tomcat 以通过 SAML 配置 SSO?

I really appreciate any help.我真的很感激任何帮助。

Thank you.谢谢你。

You could use a Java library that acts as a SAML SP, no need for a full-blown SP implemetation as OpenAM for Shibboleth.您可以使用充当 SAML SP 的 Java 库,无需像 OpenAM for Shibboleth 那样使用成熟的 SP 实现。 Most of those libraries are acting as JEE servlet filter, so it should not be a big deal to extend your application.这些库中的大多数都充当 JEE servlet 过滤器,因此扩展您的应用程序应该没什么大不了的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM