Installation
- Prepare Tomcat. Your Tomcat startup script, generally
catalina.sh
, must be modified to set a property used by xml-security.Code Block JAVA_OPTS="$JAVA_OPTS \-Dorg.apache.xml.security.ignoreLineBreaks=true"
- Download the extension. It can be found in the Shibboleth 2.0 SVN Repository, under
shib-extension/java-infocard
. - Edit
install.properties
to point to your Tomcat and IdP directories. - Run
ant
in the Infocard support directory to build the extension. The script will install the extension jar into the IdP'slib/
directory. - Copy the patched
xmlsec-1.4.1-nws.jar
to your IdP'slib/
directory, replacingxmlsec-1.4.1.jar
- Edit the IdP's
resources/WEB-INF/web.xml
:Code Block xml xml Rebuild and reinstall the IdP starting at step 6Run<!-- url for infocard card request --> <servlet-mapping> <servlet-name>RemoteUserAuthHandler</servlet-name> <url-pattern>/Authn/Infocard.crd</url-pattern> </servlet-mapping>
mvn install
to build. - Copy the target jar,
infocard-1.1.jar
to the idp's lib file and reinstall the idp.