Skip to content

Add repository for returing Asserting Party Metadata #15394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jzheaux opened this issue Jul 10, 2024 · 0 comments
Closed

Add repository for returing Asserting Party Metadata #15394

jzheaux opened this issue Jul 10, 2024 · 0 comments
Assignees
Labels
in: saml2 An issue in SAML2 modules type: enhancement A general enhancement

Comments

@jzheaux
Copy link
Contributor

jzheaux commented Jul 10, 2024

Like RelyingPartyRegistrationRepository, it would be nice to have an interface to represent loading asserting party metadata. This would make working with OpenSAML's MetadataResolver considerably easier.

A contract like the following may suffice:

public interface AssertingPartyMetadataRepository extends Iterable<AssertingPartyMetadata> {
    default AssertingPartyMetadata findByEntityId(String entityId);

    Iterator<AssertingPartyMetadata> iterator();
}

Note that AssertingPartyMetadata is a proposed interface to allow for easy adaptation from DB or other third-party representations.

A handy first implementation of this interface would be one that worked with an OpenSAML MetadataResolver.

@jzheaux jzheaux added type: enhancement A general enhancement in: saml2 An issue in SAML2 modules labels Jul 10, 2024
@jzheaux jzheaux self-assigned this Jul 10, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Jul 11, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Jul 14, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Jul 19, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Jul 20, 2024
jzheaux added a commit to jzheaux/spring-security that referenced this issue Jul 20, 2024
jzheaux added a commit that referenced this issue Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: saml2 An issue in SAML2 modules type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant