The SAML v2 framework provides interfaces that can be used to construct and process assertions, requests, and responses. The SDK is designed to be pluggable although it can also be run as a standalone application (outside of an instance of OpenSSO Enterprise).
For information on the packages in the SDK, see Exploring the SAML v2 Packages.
For ways to set a customized implementation, see Setting a Customized Class.
The SAML v2 SDK includes the following packages:
For more detailed information, see the Sun OpenSSO Enterprise 8.0 Java API Reference.
This package provides interfaces to construct and process SAML v2 assertions. It also contains the AssertionFactory, a factory class used to obtain instances of the objects defined in the assertion schema.
This package provides interfaces and classes used to define common SAML v2 utilities and constants.
This package provides service provider interfaces to implement for plug-ins.
This package provides interfaces used to construct and process the SAML v2 request/response protocol. It also contains the ProtocolFactory, a factory class used to obtain object instances for concrete elements in the protocol schema.
There are two ways you can set a customized implementation class:
Add a customized mapper as a value for the Advanced Properties of the appropriate server using the OpenSSO Enterprise console.
Login to the OpenSSO Enterprise console as the administrator.
Click the Configuration tab.
Click Servers & Sites and select the server.
Click the Advanced tab.
Click Add and enter the full interface name as the Property Name and the implemented class name as the Property Value.
For example, com.sun.identity.saml2.sdk.mapping.Assertion and com.ourcompany.saml2.AssertionImpl, respectively.
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 |