...
Note that all of these examples assume the use of URI-based naming; that is, they assume the underlying SAML <Attribute>
NameFormat
value is set to urn:oasis:names:tc:SAML:2.0:attrname-format:URI
Notably, none of this is strictly required if you can utilize the Attribute Resolver for your use case (and you almost always can do that). There’s an EntityAttributesDataConnectornow that can automate this process.
Foundational Beans
The basis of both use cases is to define a Spring bean (or beans) to pull the tags desired out of the metadata and expose them. There are already classes able to do this as part of the implementation of the MetadataDrivenConfiguration feature and there are parent beans defined to make use of them to insulate the deployer from those classes.
...