Setting up the classpaths for the IBM® IdP client façade
If you want to use the IBM® IdP client façade, you must add JAR files in the classpath of your IdP server and the SPs.
Procedure
-
Obtain the required JAR files as described below, and place these JAR files on your IdP server and the servers that host your SPs.
- Locate the unica.war file in the Unica Platform installation
directory. Extract the unica.war file, navigate to
the WEB-INF\lib directory and copy the following
JARs.
- asm.jar
- bcprov-jdk180n-1.78.1.jar
- esapi.jar
- hk2-api.jar
- hk2-locator.jar
- hk2-utils.jar
- jackson-annotations.jar
- jackson-core.jar
- jackson-databind.jar
- jakarta.activation-api-2.1.3.jar
- jakarta.inject-api.jar
- jakarta.validation-api-3.1.0.jar
- jakarta.ws.rs-api-3.1.0.jar
- jakarta.xml.bind-api-3.0.1.jar
- jaxb-core.jar
- jaxb-runtime.jar
- jersey-client.jar
- jersey-common.jar
- jersey-container-servlet-core-3.1.4.jar
- jersey-hk2.jar
- jersey-server.jar
- joda-time.jar
- opensaml.jar
- openws.jar
- xmlsec.jar
- Xmltooling.jar
- Download the following additional required libraries from Maven Central:
- Download
aopalliance-repackaged-3.1.1.jarfrom https://mvnrepository.com/artifact/org.glassfish.hk2.external/aopalliance-repackaged/3.1.1. - Download
istack-commons-runtime-4.1.1.jarfrom https://mvnrepository.com/artifact/com.sun.istack/istack-commons-runtime/4.1.1. - Download
jackson-module-jakarta-xml bind-annotations-2.20.0.jarhttps://mvnrepository.com/artifact/com.fasterxml.jackson.module/jackson-module-jakarta-xmlbind-annotations/2.20.0. - Download
Jakarta.activation-2.0.1.jarfrom https://mvnrepository.com/artifact/com.sun.activation/jakarta.activation/2.0.1. - Download
Jakarta.annotation-api-2.1.1.jarfrom https://mvnrepository.com/artifact/jakarta.annotation/jakarta.annotation-api/2.1.1. - Download
jcl-over-slf4j-1.7.5.jarfrom https://mvnrepository.com/artifact/org.slf4j/jcl-over-slf4j/1.7.5. - Download
not-yet-commons-ssl-0.3.9.jarfrom https://mvnrepository.com/artifact/org.apache.commons/not-yet-commons-ssl/0.3.9. - Download
Slf4j-api-1.7.5.jarfrom http://mvnrepository.com/artifact/org.slf4j/slf4j-api/1.7.5. - Download
commons-httpclient-3.1.jarfrom https://mvnrepository.com/artifact/commons-httpclient/commons-httpclient/3.1.
- Download
- Locate the unica.war file in the Unica Platform installation
directory. Extract the unica.war file, navigate to
the WEB-INF\lib directory and copy the following
JARs.
- Add all the JAR files obtained in the previous step, in the classpath of the IdP server classpath and Service Provider (SP2) classpath (excluding Unica).
-
To update Unica Platform WAR, add the following JAR files to
unica.war/WEB-INF/lib.
- commons-httpclient-3.1.jar
- jackson-module-jakarta-xmlbind-annotations-2.20.0.jar
- not-yet-commons-ssl-0.3.9.jar
-
Now, add the following libraries downloaded from Maven Central, to the
classpath of Unica Platform (SP1) External Service Provider (SP2).
- Download
jersey-container-servlet-3.1.10.jarfrom https://mvnrepository.com/artifact/org.glassfish.jersey.containers/jersey-container-servlet/3.1.0. - Download
jersey-entity-filtering-3.1.10.jarfrom https://mvnrepository.com/artifact/org.glassfish.jersey.ext/jersey-entity-filtering/3.1.10. - Download
jersey-media-json-jackson-3.1.10.jarfrom https://mvnrepository.com/artifact/org.glassfish.jersey.media/jersey-media-json-jackson/3.1.10.
- Download
-
To add IdP Client Library to SP2 Extract unica.war, copy the
idp-client.jarfile from WEB-INF/lib to the classpath of the SP2 WAR (for example, FSSO).