-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
in: saml2An issue in SAML2 modulesAn issue in SAML2 modulestype: enhancementA general enhancementA general enhancement
Milestone
Description
Describe the bug
The new SAML implementation is missing a couple validations that were performed on the AuthnResponse in spring-security-saml. The most important one is ResponseStatus, that can be different from Success.
This is commonly used by some IdPs (like ADFS) and I'm still trying to run a validation scenario but will probably just fail because it has no assertions, which is not great handling.
Here's the list I've come up with so far after my analysis:
- AuthnResponse Status Code.
- AuthnResponse issue instant.
- InResponseTo (this one is expected, since request-response pairing is not implemented yet).
- Assertion IssueInstant vs a configurable MaxAssertionTime.
- Assertion Issuer vs the IdP EntityID.
- Assertion Subject InResponseTo vs the local endpoint.
- Assertion AuthenticationStatement contextClassRef.
- Assertion AuthenticationStatement AuthnInstant vs configurable maxAuthenticationAge.
- Assertion AuthenticationStatement sessionNotOnOrAfter.
I understand that some might be deprecated or not necessary, or not implemented yet, but wanted to track them and double check to make sure I'm not missing anything.
Metadata
Metadata
Assignees
Labels
in: saml2An issue in SAML2 modulesAn issue in SAML2 modulestype: enhancementA general enhancementA general enhancement