Skip to content

Support Specifying Identifier for relying-party-registrations Element #14487

Closed
@jzheaux

Description

@jzheaux

When using <relying-party-registrations> to configure a RelyingPartyRegistrationRepository, it would be helpful to be able to give it an identifier so that it can be referred to other custom SAML components like so:

<relying-party-registrations id="ref">
    <relying-party-registration ..../>
    <asserting-party ... />
</relying-party-registrations>

<b:bean class="org.springframework.security.saml2.provider.service.web.authentication.OpenSaml4AuthenticationRequestResolver">
    <b:constructor-arg ref="ref"/>
    <b:property ref="relayStateResolver"/>
</b:bean>

...

This would involve updating RelyingPartyRegistrationsBeanDefinitionParser, its test file, and the accompanying .rnc file.

Related to gh-14417

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions