We are testing sending XDR message to TTT Ambulatory endpoint and getting below error:
issuerAllowedFormat(gov.nist.hit.ds.wsseTool.validation.tests.run.AssertionVal) : issuer format not allowed found : , but expected one of : [urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified, urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress, urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName, urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName, urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos, urn:oasis:names:tc:SAML:2.0:nameid-format:entity, urn:oasis:names:tc:SAML:2.0:nameid-format:persistent, urn:oasis:names:tc:SAML:2.0:nameid-format:transient] &&&& gov.nist.hit.ds.wsseTool.validation.WsseHeaderValidator
It seems like it's expecting "Format" attribute in <saml2:issuer> but our message is using <saml2:Issuer>xxxx</saml2:Issuer> without "Format".
I think the "Format" in <saml2:Issuer> tag is optional according to "2.2.5 Element <Issuer>" of https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf
"The <Issuer> element, with complex type NameIDType, provides information about the issuer of a SAML assertion or protocol message. The element requires the use of a string to carry the issuer's name, but permits various pieces of descriptive data (see Section 2.2.2).
Overriding the usual rule for this element's type, if no Format value is provided with this element, then the value urn:oasis:names:tc:SAML:2.0:nameid-format:entity is in effect (see Section 8.3.6)."
I appreciate if you could take a look at the error.
Thanks,
Yan
MA | 1029 | SAML Assertion | saml:Assertion/saml:Issuer/@Format | R | Verify: @Format is one of the following: |
urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified |
urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName |
urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos |
urn:oasis:names:tc:SAML:2.0:nameid-format:entity |
urn:oasis:names:tc:SAML:2.0:nameid-format:persistent |
urn:oasis:names:tc:SAML:2.0:nameid-format:transient |
Authorization Framework 3.0: 3.3 | SAML 2.0: 8.3 |
On Dec 3, 2015, at 6:11 PM, Yan Wang <yw...@max.md> wrote:
<Issuer>