Skip to main content Skip to complementary content
Close announcements banner

Creating custom SSO plugin

Talend Administration Center provides some predefined IDP plugins including Okta, ADFS, ADFS3, ADFS4, 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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!