From db1aab1f3a2619909e72dde6cb16efb4db55305d Mon Sep 17 00:00:00 2001 From: Mohamed Rashd Date: Wed, 6 Apr 2022 01:01:22 +0530 Subject: [PATCH] Add identity service provider config --- .../application/mgt/core/util/Constants.java | 2 +- .../conf/identity-service-provider-config.xml | 30 +++++++++++++++++++ .../identity-service-provider-config.xml.j2 | 30 +++++++++++++++++++ 3 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/conf/identity-service-provider-config.xml create mode 100644 features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/conf_templates/templates/repository/conf/identity-service-provider-config.xml.j2 diff --git a/components/application-mgt/io.entgra.application.mgt.core/src/main/java/io/entgra/application/mgt/core/util/Constants.java b/components/application-mgt/io.entgra.application.mgt.core/src/main/java/io/entgra/application/mgt/core/util/Constants.java index fd9b4577df6..f4ad8013e45 100644 --- a/components/application-mgt/io.entgra.application.mgt.core/src/main/java/io/entgra/application/mgt/core/util/Constants.java +++ b/components/application-mgt/io.entgra.application.mgt.core/src/main/java/io/entgra/application/mgt/core/util/Constants.java @@ -31,7 +31,7 @@ import java.util.Map; public class Constants { public static final String APPLICATION_CONFIG_XML_FILE = "application-mgt.xml"; - public static final String IDENTITY_SERVERS_CONFIG_XML_FILE = "identity-servers-config.xml"; + public static final String IDENTITY_SERVERS_CONFIG_XML_FILE = "identity-service-provider-config.xml"; public static final String DEFAULT_CONFIG_FILE_LOCATION = CarbonUtils.getCarbonConfigDirPath() + File.separator + Constants.APPLICATION_CONFIG_XML_FILE; diff --git a/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/conf/identity-service-provider-config.xml b/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/conf/identity-service-provider-config.xml new file mode 100644 index 00000000000..bee524c54a3 --- /dev/null +++ b/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/conf/identity-service-provider-config.xml @@ -0,0 +1,30 @@ + + + + + + + + WSO2 IAM + io.entgra.application.mgt.core.identityserver.serviceprovider.impl.WSO2IAMSPApplicationService + /carbon/application/list-service-providers.jsp + + + + diff --git a/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/conf_templates/templates/repository/conf/identity-service-provider-config.xml.j2 b/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/conf_templates/templates/repository/conf/identity-service-provider-config.xml.j2 new file mode 100644 index 00000000000..bee524c54a3 --- /dev/null +++ b/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/conf_templates/templates/repository/conf/identity-service-provider-config.xml.j2 @@ -0,0 +1,30 @@ + + + + + + + + WSO2 IAM + io.entgra.application.mgt.core.identityserver.serviceprovider.impl.WSO2IAMSPApplicationService + /carbon/application/list-service-providers.jsp + + + +