-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Add JdbcAssertingPartyMetadataRepository #17077
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @wapkch, thanks for this PR! Looking at #16012, I believe the ask is to be able to have separate places from which to draw information for the RP and AP metadata. As such, I think let's begin with implementing AssertingPartyMetadataRepository
(so JdbcAssertingPartyMetadataRepository
). You should be able to preserve most of what you've written, just staying focused on the asserting party. Are you able to make these changes?
...ork/security/saml2/provider/service/registration/JdbcRelyingPartyRegistrationRepository.java
Outdated
Show resolved
Hide resolved
...ork/security/saml2/provider/service/registration/JdbcRelyingPartyRegistrationRepository.java
Outdated
Show resolved
Hide resolved
...ork/security/saml2/provider/service/registration/JdbcRelyingPartyRegistrationRepository.java
Outdated
Show resolved
Hide resolved
...ork/security/saml2/provider/service/registration/JdbcRelyingPartyRegistrationRepository.java
Outdated
Show resolved
Hide resolved
...ork/security/saml2/provider/service/registration/JdbcRelyingPartyRegistrationRepository.java
Outdated
Show resolved
Hide resolved
...ork/security/saml2/provider/service/registration/JdbcRelyingPartyRegistrationRepository.java
Outdated
Show resolved
Hide resolved
...ork/security/saml2/provider/service/registration/JdbcRelyingPartyRegistrationRepository.java
Outdated
Show resolved
Hide resolved
...ork/security/saml2/provider/service/registration/JdbcRelyingPartyRegistrationRepository.java
Outdated
Show resolved
Hide resolved
...ork/security/saml2/provider/service/registration/JdbcRelyingPartyRegistrationRepository.java
Outdated
Show resolved
Hide resolved
...ork/security/saml2/provider/service/registration/JdbcRelyingPartyRegistrationRepository.java
Outdated
Show resolved
Hide resolved
Thanks for the feedback! Yes, I can make those changes. Appreciate the guidance! |
Closes spring-projectsgh-16012 Signed-off-by: chao.wang <[email protected]>
Issue spring-projectsgh-16012 Co-Authored-By: chao.wang <[email protected]>
- Remove GetBytes since it's not used yet - Remove customizable RowMapper since this can be added later - Change signing_algorithms to be a String since the conversion strategy is simple - Standardize test names - Simplify conversion of credentials using ThrowingFunction Issue spring-projectsgh-16012
This is looking good, @wapkch. I added some polishes in 86189f3. Also, I polished your original |
Closes gh-16012