Skip to content

Fix: Route authentication logs to Eclipse Error Log (AST-136023)#244

Open
cx-aniket-shinde wants to merge 2 commits intointegration/eclipse-bug-fixesfrom
bug/AST-136023
Open

Fix: Route authentication logs to Eclipse Error Log (AST-136023)#244
cx-aniket-shinde wants to merge 2 commits intointegration/eclipse-bug-fixesfrom
bug/AST-136023

Conversation

@cx-aniket-shinde
Copy link
Copy Markdown
Contributor

Replace SLF4J log calls in Authenticator.doAuthentication() with CxLogger so auth success/failure messages appear in .metadata/.log and the Eclipse Error Log UI instead of being silently dropped.

By submitting a PR to this repository, you agree to the terms within the Checkmarx Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

Describe the purpose of this PR along with any background information and the impacts of the proposed change.

References

Include supporting link to GitHub Issue/PR number

Testing

Describe how this change was tested. Be specific about anything not tested and reasons why. If this solution has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

Please include any manual steps for testing end-to-end or functionality not covered by unit/integration tests.

Checklist

  • I have added documentation for new/changed functionality in this PR (if applicable).
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used

Replace SLF4J log calls in Authenticator.doAuthentication() with
CxLogger so auth success/failure messages appear in .metadata/.log
and the Eclipse Error Log UI instead of being silently dropped.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions bot added the bug Something isn't working label Apr 14, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 14, 2026

Logo
Checkmarx One – Scan Summary & Detailsfa14d2c0-ab8c-4b8d-9af2-efedd02ceef9

Great job! No new security vulnerabilities introduced in this pull request

Replace SLF4J mockLogger verification with MockedStatic<CxLogger>
to match the updated Authenticator.doAuthentication() which now
routes log output through CxLogger instead of the SLF4J instance.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@cx-aniket-shinde cx-aniket-shinde changed the base branch from main to integration/eclipse-bug-fixes April 14, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant