In the OpenSSO Enterprise console, go to Configuration>Global>SAMLv2 Service Configuration.
Modify the following attributes:
Attribute name for Name ID information
Attribute name for Name ID information key
See SAMLv2 Service Configuration in Sun OpenSSO Enterprise 8.0 Administration Reference for more information.
Restart the web container.
Federation information will now be written to the specified attributes.