-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
in: saml2An issue in SAML2 modulesAn issue in SAML2 modulesstatus: duplicateA duplicate of another issueA duplicate of another issuetype: enhancementA general enhancementA general enhancement
Description
The protocol states that the Subject is optional.
<element name="Assertion" type="saml:AssertionType"/>
<complexType name="AssertionType">
<sequence>
<element ref="saml:Issuer"/>
<element ref="ds:Signature" minOccurs="0"/>
<element ref="saml:Subject" minOccurs="0"/>
But there is always a check for the existence of a NameID !hasName(firstAssertion)
and I get the error if there is no Subject.
org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationProvider#process
org.springframework.security.saml2.core.Saml2ErrorCodes#SUBJECT_NOT_FOUND
Is it possible to implement disabling the check for the presence of a NameID?
Metadata
Metadata
Assignees
Labels
in: saml2An issue in SAML2 modulesAn issue in SAML2 modulesstatus: duplicateA duplicate of another issueA duplicate of another issuetype: enhancementA general enhancementA general enhancement