Skip to content

feat(saml2-backend): implement SAML 2.0 identity federation SSO backend subsystem (#968) - #969

Merged
kRamu81 merged 2 commits into
kRamu81:mainfrom
dipanshubatra:feature/saml2-identity-federation-sso-subsystem
Aug 11, 2026
Merged

feat(saml2-backend): implement SAML 2.0 identity federation SSO backend subsystem (#968)#969
kRamu81 merged 2 commits into
kRamu81:mainfrom
dipanshubatra:feature/saml2-identity-federation-sso-subsystem

Conversation

@dipanshubatra

Copy link
Copy Markdown
Contributor

Description

Introduces the SAML 2.0 Enterprise Identity Federation & SSO Java Backend Subsystem, enabling OASIS SAML 2.0 AuthnRequest generation, X.509 XML signature verification, NameID resolution, Assertion Consumer Service (ACS) attribute mapping, and Single Logout (SLO).

Key Features

  • 500+ lines of Spring Boot Java backend implementation across 6 files
  • Saml2IdentityFederationService.java: Service layer handling AuthnRequest building, ACS response consumption, X.509 cert validation, and Single Logout (SLO)
  • Saml2IdentityFederationController.java: REST controller exposing SP metadata XML, SSO login redirect, ACS consumer, and SLO endpoints
  • Saml2IdentityProviderRecord.java: JPA Entity tracking IdP metadata URLs, X.509 certificates, and NameID formats
  • Saml2IdentityProviderRecordRepository.java: Spring Data JPA repository

Fixes #968
#Closed #968

…eration service, entity, repository, DTOs, and REST controller
@dipanshubatra
dipanshubatra requested a review from kRamu81 as a code owner August 11, 2026 03:16
@github-actions github-actions Bot added backend Backend related changes ECSoC26 ECSoC 2026 Initiative Frontend Frontend related changes labels Aug 11, 2026
@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@dipanshubatra, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 47 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 3edd131c-10be-49fa-9090-0e7ebe248beb

📥 Commits

Reviewing files that changed from the base of the PR and between b18cc4d and c2f0c04.

📒 Files selected for processing (6)
  • Backend/src/main/java/com/medtrack/auth/saml2/controller/Saml2IdentityFederationController.java
  • Backend/src/main/java/com/medtrack/auth/saml2/dto/Saml2AcsConsumeRequest.java
  • Backend/src/main/java/com/medtrack/auth/saml2/dto/Saml2IdpRegistrationRequest.java
  • Backend/src/main/java/com/medtrack/auth/saml2/model/Saml2IdentityProviderRecord.java
  • Backend/src/main/java/com/medtrack/auth/saml2/repository/Saml2IdentityProviderRecordRepository.java
  • Backend/src/main/java/com/medtrack/auth/saml2/service/Saml2IdentityFederationService.java

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@kRamu81 kRamu81 added good-pr Bonus: Exceptional Pull Request good-ui Bonus: Excellent User Interface good-backend Bonus: Excellent Backend Code good-issue Bonus: High Quality Issue labels Aug 11, 2026
@kRamu81
kRamu81 merged commit a99e11d into kRamu81:main Aug 11, 2026
8 of 13 checks passed
@ecsoc-sentinel ecsoc-sentinel Bot added the ECSoC26-L3 Difficulty Level 3 - Hard label Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Backend related changes ECSoC26-L3 Difficulty Level 3 - Hard ECSoC26 ECSoC 2026 Initiative Frontend Frontend related changes good-backend Bonus: Excellent Backend Code good-issue Bonus: High Quality Issue good-pr Bonus: Exceptional Pull Request good-ui Bonus: Excellent User Interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Implement SAML 2.0 Identity Federation SSO Backend Subsystem

2 participants