Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Installation

  1. 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"
    
  2. Download the extension. It can be found in the Shibboleth 2.0 SVN Repository, under shib-extension/java-infocard.
  3. Edit install.properties to point to your Tomcat and IdP directories.
  4. Run ant in the Infocard support directory to build the extension. The script will install the extension jar into the IdP's lib/ directory.
  5. Copy the patched xmlsec-1.4.1-nws.jar to your IdP's lib/ directory, replacing  xmlsec-1.4.1.jar
  6. Edit the IdP's resources/WEB-INF/web.xml: Code Blockxmlxml
    
    <!-- url for infocard card request -->
        <servlet-mapping>
            <servlet-name>RemoteUserAuthHandler</servlet-name>
            <url-pattern>/Authn/Infocard.crd</url-pattern>
        </servlet-mapping>
    
    Rebuild and reinstall the IdP starting at step 6Run mvn install to build.
  7. Copy the target jar, infocard-1.1.jar to the idp's lib file and reinstall the idp.