Skip to content

SAML2: Support federation with multiple IdPs #10551

@OrangeDog

Description

@OrangeDog

A key feature of spring-security-saml2-core was the ability to easily configure multiple metadata providers to configure multiple IdPs from multiple sources and access their details to provide a custom discovery page.

In particular, you can configure a URI for an <EntitiesDescriptor> document, and all the <EntityDescriptor>s within would be configured including any shared keys information. For example, http://metadata.ukfederation.org.uk/ukfederation-metadata.xml describes all the participants in the UK Access Management Federation.

I can't see any way to do this with the current Spring 5 support. RelyingPartyRegistrations.fromMetadataLocation only results in a single RelyingPartyRegistration, and the full entity descriptor does not appear to be available from that - e.g. the <EntityAttributes> and <Extensions>.

It's not even clear that the model of a 1-to-1 binding of relying party (SP) to asserting party (IdP) going to work if there are multiple RelyingPartyRegistrations with the same entityId. I've no idea how the login filter is going to work, for example.

As with the OAuth2 support, I find myself disappointed that the excellent previous library is being EoL'd without sufficient replacement.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions