WSO2-APIM/IS 如何配置repository\conf\identity\identity-providers\default.xml [英] WSO2-APIM/IS How to configure repository\conf\identity\identity-providers\default.xml

查看:15
本文介绍了WSO2-APIM/IS 如何配置repository\conf\identity\identity-providers\default.xml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 WSO2-APIM/IS 中创建了一个自定义联合身份验证器,并启用了即时配置.

I have created a custom federated authenticator in WSO2-APIM/IS and have enable Just-In-Time Provisioning.

因为在 API Manager 中创建应用程序时,也会创建相应的服务提供者.我希望所有服务提供商都使用我的自定义身份验证器作为默认值,我认为可以通过编辑文件 repository\conf\identity\identity-providers\default.xml

Since in API Manager when an application is created a corresponding service provider will be created as well. I want to have all service provider be using my custom authenticator as default which, I think, can be done by editing the file repository\conf\identity\identity-providers\default.xml

但是,我在文档中找不到有关此文件格式的信息,我需要配置我的自定义联合身份验证器并启用 JIT 配置.任何人都可以指导我了解此文件的配置详细信息.

However I can not find the information in the documentation on the format of this file which I need to configure my custom federated authenticator and enable JIT Provisioning. Can anyone please guide me to the configuration detail of this file.

下面是默认的repository\conf\identity\identity-providers\default.xml

<IdentityProvider>
    <IdentityProviderName>default</IdentityProviderName>
    <DisplayName>default</DisplayName>
    <IdentityProviderDescription></IdentityProviderDescription>
    <Alias></Alias>
    <IsPrimary></IsPrimary>
    <IsFederationHub></IsFederationHub>
    <HomeRealmId></HomeRealmId>
    <ProvisioningRole></ProvisioningRole>
    <FederatedAuthenticatorConfigs></FederatedAuthenticatorConfigs>
    <DefaultAuthenticatorConfig>
    </DefaultAuthenticatorConfig>
    <ProvisioningConnectorConfigs>
        <!--<ProvisioningConnectorConfig>
            <ProvisioningProperties>
            </ProvisioningProperties>
        </ProvisioningConnectorConfig>-->
    </ProvisioningConnectorConfigs>
    <!--<DefaultProvisioningConnectorConfig></DefaultProvisioningConnectorConfig>-->
    <ClaimConfig></ClaimConfig>
    <Certificate></Certificate>
    <PermissionAndRoleConfig></PermissionAndRoleConfig>
    <JustInTimeProvisioningConfig></JustInTimeProvisioningConfig>
</IdentityProvider>

非常感谢您.

推荐答案

根据代码 这里,应该是下面的格式.

As per the code here, It should be in the following format.

<JustInTimeProvisioningConfig>
    <UserStoreClaimUri></UserStoreClaimUri>
    <ProvisioningUserStore>PRIMARY</ProvisioningUserStore>
    <IsProvisioningEnabled>true</ProvisioningEnabled>
</JustInTimeProvisioningConfig>

更改 ProvisioningUserStore 以反映您的.

这篇关于WSO2-APIM/IS 如何配置repository\conf\identity\identity-providers\default.xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆