Creating custom SSO plugin - 7.3

Talend Administration Center User Guide

EnrichVersion
7.3
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
EnrichPlatform
Talend Administration Center
task
Administration and Monitoring

Talend Administration Center provides some predefined IDP plugins including Okta, ADFS, ADFS3, PingFederate, and so on. But you may want to use other IDP provider, or different authentication policies. In this case you can create your own custom IDP plugin as you need.

You can find the API document, the example and implemented plugins in <tomcat_path>\webapps\org.talend.administrator\idp folder.

Before you begin

Make sure that you have Java 1.8 and one Java IDE installed.

Procedure

  1. Install the API library <tomcat_path>\webapps\org.talend.administrator\WEB-INF\lib\org.talend.sso.idp.api-x.y.z.jar using the following command:
    mvn install:install-file -Dfile=<filePath>/org.talend.sso.idp.api-x.y.z.jar
            -DgroupId=org.talend -DartifactId=org.talend.sso.idp.api -Dversion=x.y.z
            -Dpackaging=jar
  2. Import the example project <tomcat_path>\webapps\org.talend.administrator\idp\example into your Java IDE.
  3. Change the IDP logic using the interface org.talend.sso.idp.common.plugin.IdentityProvider.
  4. Change org.talend.sso.idp.plugin.example.ExampleIdentityProviderImpl in META-INF/services/org.talend.sso.idp.api.IdentityProvider with the qualified name of the implemented class.
  5. Run the command mvn clean install.
  6. Copy or upload the Jar file that you built into Talend Administration Center.