启用 Syncope 登录模块
安装 Syncope 登录模块以后,您可以通过将 Syncope 蓝图 XML 文件部署到 Talend-ESB-VA.B.C/container/deploy 文件夹,从而在 Talend ESB 中启用它。
蓝图描述符的模板如下所示:
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
           xmlns:jaas="http://karaf.apache.org/xmlns/jaas/v1.1.0"
           xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0">
    <jaas:config name="karaf" rank="2">
        <jaas:module className="org.apache.karaf.jaas.modules.syncope.SyncopeLoginModule"
                     flags="required">
           address=http://localhost:9080/syncope/rest
           admin.user=admin
           admin.password=password
           version=2
        </jaas:module>
    </jaas:config>
    <service interface="org.apache.karaf.jaas.modules.BackingEngineFactory">
        <bean class="org.apache.karaf.jaas.modules.syncope.SyncopeBackingEngineFactory"/>
    </service>
</blueprint>步骤
- 
                根据上述模板创建蓝图描述符并配置参数: 
                
- 将地址属性的值设置为..syncope/rest,以引用您的 Syncope 服务器。
 - 配置访问 Syncope 的凭证。
 
 - 
                验证 Syncope 登录模块是否成功安装: