Skip to content
This repository was archived by the owner on Dec 20, 2025. It is now read-only.

fix(saml): With the upgrade to spring saml off of the DSL signing saml requests were broken. This restores that functionality#1898

Merged
mergify[bot] merged 1 commit into
spinnaker:masterfrom
jasonmcintosh:fixSaml
May 14, 2025
Merged

Conversation

@jasonmcintosh
Copy link
Copy Markdown
Member

No description provided.

…l requests were broken. This restores that capability
Resource certificate = resourceLoader.getResource(certificateLocation);
try (InputStream inputStream = certificate.getInputStream()) {
return (X509Certificate)
CertificateFactory.getInstance("X.509").generateCertificate(inputStream);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't there utility code in kork-crypto for this?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PROBABLY? - but this is a direct copy/paste from Spring Security so was just re-using all of that Autowiring flow. I'd like to replace all of this with the spring autowiring similar to the oauth2 autowiring changes I'm seeing. BUT this is a "fix" vs. a... larger rewrite of that auth flow.

@jasonmcintosh jasonmcintosh added the ready to merge Approved and ready for merge label May 14, 2025
@mergify mergify Bot added the auto merged label May 14, 2025
@mergify mergify Bot merged commit 0fb605c into spinnaker:master May 14, 2025
4 checks passed
@jasonmcintosh
Copy link
Copy Markdown
Member Author

@Mergifyio backport release-1.36.x release-1.37.x

@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented May 14, 2025

@jasonmcintosh
Copy link
Copy Markdown
Member Author

@Mergifyio backport release-1.38.x

@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented May 14, 2025

backport release-1.38.x

✅ Backports have been created

Details

mergify Bot pushed a commit that referenced this pull request May 14, 2025
…l requests were broken. This restores that capability (#1898)

(cherry picked from commit 0fb605c)
mergify Bot pushed a commit that referenced this pull request May 14, 2025
…l requests were broken. This restores that capability (#1898)

(cherry picked from commit 0fb605c)
mergify Bot pushed a commit that referenced this pull request May 14, 2025
…l requests were broken. This restores that capability (#1898)

(cherry picked from commit 0fb605c)
mergify Bot added a commit that referenced this pull request May 14, 2025
…l requests were broken. This restores that capability (#1898) (#1900)

(cherry picked from commit 0fb605c)

Co-authored-by: Jason <jason.mcintosh@harness.io>
mergify Bot added a commit that referenced this pull request May 14, 2025
…l requests were broken. This restores that capability (#1898) (#1901)

(cherry picked from commit 0fb605c)

Co-authored-by: Jason <jason.mcintosh@harness.io>
mergify Bot added a commit that referenced this pull request May 14, 2025
…l requests were broken. This restores that capability (#1898) (#1899)

(cherry picked from commit 0fb605c)

Co-authored-by: Jason <jason.mcintosh@harness.io>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants