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
-
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
-
Import the example project <tomcat_path>\webapps\org.talend.administrator\idp\example
into your Java IDE.
-
Change the IDP logic using the interface
org.talend.sso.idp.common.plugin.IdentityProvider
.
-
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.
-
Run the command
mvn clean install
.
-
Copy or upload the Jar file that you built into Talend Administration Center.