saml2:Attribute
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2012
12:49 PM
07-27-2012
12:49 PM
saml2:Attribute
v4.5.1
Using the SAML (Form) (SAML2) The generated Assertion does not include the required 'Name' Attribute
Using the SAML (Form) (SAML2) The generated Assertion does not include the required 'Name' Attribute
<saml2:AttributeStatement>
<saml2:Attribute FriendlyName="roles"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<saml2:AttributeValue xsi:type="xs:string">gangster
</saml2:AttributeValue>
</saml2:Attribute>
<element name="Attribute" type="saml:AttributeType"/>
<complexType name="AttributeType">
<sequence>
<element ref="saml:AttributeValue" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="Name" type="string" use="required"/>
<attribute name="NameFormat" type="anyURI" use="optional"/>
<attribute name="FriendlyName" type="string" use="optional"/>
<anyAttribute namespace="##other" processContents="lax"/>
</complexType>
<element name="AttributeValue" type="anyType" nillable="true"/>
Caused by: org.opensaml.xml.validation.ValidationException: Name is required attribute
at org.opensaml.saml2.core.validator.AttributeSchemaValidator.validateName(AttributeSchemaValidator.java:52)[143:org.apache.servicemix.bundles.opensaml:2.5.1.2]
at org.opensaml.saml2.core.validator.AttributeSchemaValidator.validate(AttributeSchemaValidator.java:41)[143:org.apache.servicemix.bundles.opensaml:2.5.1.2]
at org.opensaml.saml2.core.validator.AttributeSchemaValidator.validate(AttributeSchemaValidator.java:32)[143:org.apache.servicemix.bundles.opensaml:2.5.1.2]
at org.opensaml.xml.validation.ValidatorSuite.performValidation(ValidatorSuite.java:168)[143:org.apache.servicemix.bundles.opensaml:2.5.1.2]
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2018
10:45 AM
12-20-2018
10:45 AM
mmmm. This issue is open for more than 6 years...? Any update on this?
