There are two ways you could set a customized implementation class:
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 |
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.
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 |