[ https://issues.apache.org/jira/browse/WSS-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Srinivasa Kukatla updated WSS-297: ---------------------------------- Attachment: Saml2ComponentBuilder.java > Subject Bean is missing NameID Format variable > ---------------------------------------------- > > Key: WSS-297 > URL: https://issues.apache.org/jira/browse/WSS-297 > Project: WSS4J > Issue Type: Bug > Components: WSS4J Core, WSS4J Handlers > Affects Versions: 1.6 > Reporter: Srinivasa Kukatla > Assignee: Colm O hEigeartaigh > Labels: api-change > Attachments: Saml2ComponentBuilder.java, SubjectBean.java > > > As per the saml2core specification, we have the following for the Subject > NameID: > <element name="NameID" type="saml:NameIDType" /> > <complexType name="NameIDType"> > <simpleContent> > <extension base="string"> > <attributeGroup ref="saml:IDNameQualifiers" /> > <attribute name="Format" type="anyURI" use="optional" /> > <attribute name="SPProvidedID" type="string" use="optional" /> > </extension> > </simpleContent> > </complexType> > NameID has the optional Format Attribute, we can specify different NameID > Formats such as email, X509 etc. That is missing in the subject Bean. > Please find the updated Subject Bean, added a field for the NameIDFormat. > Example : > <saml2:Subject> > <saml2:NameID > > Format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress">s...@abc.com</saml2:NameID> > <saml2:SubjectConfirmation > ---- > ---- > </saml2:SubjectConfirmation> > </saml2:Subject> -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org For additional commands, e-mail: dev-h...@ws.apache.org