Current File(s): conf/saml-nameid.xml, conf/saml-nameid.properties
Format: Native Spring
|Table of Contents|
Generation of SAML NameIdentifier/NameID content is handled by the NameIdentifierGeneration service. See the NameIdentifiers topic for a general discussion of name identifiers and a list of specific examples.
The default configuration also demonstrates how to generate a custom identifier using an arbitrary Format based on an attribute from the attribute resolution process. This plugin also has the capability of selecting the first value present from a list of possible source attributes.
If you're getting unexpected results, approach the debugging from the perspective of the algorithm: identify which Formats should be getting tried (as indicated by the log), and examine each generator in order to see if it would be expected to produce a given Format.
See the CustomNameIDGenerationConfiguration subtopic for detailed help with this feature.
Properties defined in saml-nameid.properties to customize various aspects of default identifier generation behavior:
Beans defined in saml-nameid.xml and related system configuration discussed above follow: