8000 Remove unused JAXBUtil class from saml-core by OnicarN · Pull Request #54251 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Remove unused JAXBUtil class from saml-core - #54251

Merged
ahus1 merged 1 commit into
keycloak:mainfrom
OnicarN:53853-remove-jaxbutil
Dec 2, 2026
Merged

ahus1 merged 1 commit into
keycloak:mainfrom
OnicarN:53853-remove-jaxbutil

Conversation

@OnicarN
@OnicarN OnicarN commented Oct 22, 2026
Copy link
Copy Markdown
Contributor

The class had no callers; only two commented-out references remained in SignatureUtil and XMLSignatureUtil, which are removed as well.

Closes #53853

@OnicarN
OnicarN requested a review from a team as a code owner October 22, 2026 09:51
Copilot AI balanced review requested due to automatic review settings October 22, 2026 09:51
Copilot AI left a comment
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.

🟢 Approval recommended

The deleted utility has no remaining repository references, and the other changes only remove comments.

No open issues 🎉

What changed in this PR

Removes the unused internal JAXBUtil class from saml-core, addressing #53853 without changing the public SAML API or live signature logic.

Changes:

  • Deletes the unused JAXB utility and its cache and resource-handling code.
  • Removes two obsolete commented-out references to JAXBUtil.
File Description
saml-core/​src/​main/​java/​org/​keycloak/​saml/​processing/​core/​util/​XMLSignatureUtil.java Removes a commented-out JAXB marshalling example.
saml-core/​src/​main/​java/​org/​keycloak/​saml/​processing/​core/​util/​JAXBUtil.java Deletes the unused internal utility class.
saml-core/​src/​main/​java/​org/​keycloak/​saml/​processing/​core/​saml/​v2/​util/​SignatureUtil.java Removes a commented-out JAXB marshalling example.

Review effort: Balanced

@mposolda mposolda self-assigned this Dec 1, 2026
@mposolda
mposolda commented Dec 1, 2026
Copy link
Copy Markdown
Contributor

@OnicarN Can you please rebase the PR? Hopefully that will help to fix the conflict. Otherwise looks good (as long as there is still not any use of JAXBUtil class, which I hope is still the case)

The class had no callers; only two commented-out references remained in SignatureUtil and XMLSignatureUtil, which are removed as well.

Closes keycloak#53853

Signed-off-by: OnicarN <ebaudani@gmail.com>
@ahus1
ahus1 force-pushed the 53853-remove-jaxbutil branch from 882295b to fa040a6 Compare December 2, 2026 18:53
Copilot AI balanced review requested due to automatic review settings December 2, 2026 18:53
@ahus1 ahus1 assigned ahus1 and unassigned mposolda Dec 2, 2026
ahus1
ahus1 previously approved these changes Dec 2, 2026
Copilot AI left a comment
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.

🟢 Approval recommended

No active review issues remain for the internal SAML utility cleanup.

No open issues 🎉

Review effort: Balanced

@ahus1
ahus1 force-pushed the 53853-remove-jaxbutil branch from fa040a6 to 3eab751 Compare December 2, 2026 18:55
Copilot AI balanced review requested due to automatic review settings December 2, 2026 18:55
@ahus1
ahus1 enabled auto-merge (squash) December 2, 2026 18:55
Copilot AI left a comment
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.

🟢 Approval recommended

No active review issues are reported for the unused internal SAML code cleanup.

No open issues 🎉

Review effort: Balanced

@ahus1
ahus1 merged commit cac9f50 into keycloak:main Dec 2, 2026
97 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove unused JAXBUtil class from saml-core

4 participants

0