fixed checks for inresponseto and validateExpiration#1031
fixed checks for inresponseto and validateExpiration#1031deepakprabhakara wants to merge 3 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
🚧 Files skipped from review as they are similar to previous changes (4)
📝 WalkthroughWalkthroughThe PR adds replay-related assertion metadata, rewrites expiration validation to evaluate Conditions and bearer subject-confirmation windows with clock skew, and updates response validation to use signed ChangesSAML validation hardening
Sequence Diagram(s)sequenceDiagram
participant validateInternal
participant parseResponseAndVersion
participant validateExpiration
participant assertionReplayValidator
validateInternal->>parseResponseAndVersion: await onParse(responseObj)
parseResponseAndVersion-->>validateInternal: assertionId, notOnOrAfter, inResponseTo
validateInternal->>validateExpiration: assertion
validateExpiration-->>validateInternal: valid / invalid
validateInternal->>assertionReplayValidator: assertionId, sessionIndex, notOnOrAfter, inResponseTo
assertionReplayValidator-->>validateInternal: used / unused
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
|
Caution Failed to replace (edit) comment. This is likely due to insufficient permissions or the comment being deleted. Error details |
|
Caution Failed to replace (edit) comment. This is likely due to insufficient permissions or the comment being deleted. Error details |
Summary by CodeRabbit
New Features
Bug Fixes