简体   繁体   English

在Apache Tomcat上运行针对不同IDP配置的多个Fedlet应用程序

[英]Running multiple Fedlet applications configured against different IDPs on Apache Tomcat

I have a Tomcat server running a fedlet application which is configured against a single IDP. 我有一个Tomcat服务器运行一个针对单个IDP配置的fedlet应用程序。 All the configuration files are located in their default location (ie ~/fedlet) and it works just fine. 所有配置文件都位于其默认位置(即〜/ fedlet),并且工作正常。

What I would like to do is install another fedlet application which is configured against a different IDP on the same instance of Tomcat. 我想做的是在同一个Tomcat实例上安装针对另一个IDP配置的另一个fedlet应用程序。

Within the fedlet app there is a conf directory, so is it possible to update the fedlet so that it gets its configurations from the local conf directory instead? fedlet应用程序中有一个conf目录,因此是否可以更新fedlet,以使其从本地conf目录获取其配置?

Looking at the docs ( http://docs.oracle.com/cd/E17842_01/doc.1111/e17847.pdf ) you can change the location of the config directory by setting the com.sun.identity.fedlet.home property. 查看文档( http://docs.oracle.com/cd/E17842_01/doc.1111/e17847.pdf ),可以通过设置com.sun.identity.fedlet.home属性来更改config目录的位置。 But that's a JVM level property so will apply to all fedlet applications running in my environment. 但这是JVM级别的属性,因此将应用于在我的环境中运行的所有fedlet应用程序。

Just to be clear, I don't want to configure a single fedlet application to use multiple IDPs, I want to create a second completely separate fedlet application which is configured against a completely independent IDP from the first fedlet app. 只是要清楚一点,我不想将单个fedlet应用程序配置为使用多个IDP,而是要创建第二个完全独立的fedlet应用程序,该应用程序是针对与第一个fedlet应用程序完全独立的IDP配置的。

Any pointers welcome. 任何指针欢迎。

Cheers, Lee 李干杯

According to link you provide it is not possible to run multiple instances of Fedlet on the same instance of Tomcat: 根据您提供的链接,不可能在同一个Tomcat实例上运行Fedlet的多个实例:

You can deploy multiple instances of the Oracle OpenSSO Fedlet on the same host as follows: Multiple Java Fedlet instances can run on the same host server if each Fedlet instance runs in its own Java Virtual Machine (JVM). 您可以按以下方式在同一主机上部署Oracle OpenSSO Fedlet的多个实例:如果每个Fedlet实例在其自己的Java虚拟机(JVM)中运行,则多个Java Fedlet实例可以在同一主机服务器上运行。

So, you can not configure the same fedlet.war to be configured against an additional IDP. 因此,您无法将同一fedlet.war配置为针对其他IDP进行配置。 You may install on the same host additional instance of Tomcat (that runs on different ports) and configure its fedlet.war against an additional IDP. 您可以在同一主机上安装Tomcat的其他实例(在不同的端口上运行),并针对其他IDP配置其fedlet.war。

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

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