Sun Java System SAML v2 Plug-in for Federation Services User's Guide

Setting a Customized Class

There are two ways you could set a customized implementation class:

  1. Add a mapping property to AMConfig.properties in the format:

    com.sun.identity.saml2.sdk.mapping.interface-name=new-class-name

    For example, to define a customized Assertion interface, you would add:


    com.sun.identity.saml2.sdk.mapping.Assertion=
     com.ourcompany.saml2.AssertionImpl

    Note –

    AMConfig.properties is located in the /etc/opt/product-directory/config directory in Access Manager and in the /staging-directory/web-src/WEB-INF/classes directory in Federation Manager.


  2. Set an environment variable for the Virtual Machine for the Java™ platform (JVM™). For example, you can add the following environment variable when starting the application:


    -Dcom.sun.identity.saml2.sdk.mapping.Assertion=
     com.ourcompany.saml2.AssertionImpl