[
https://issues.apache.org/jira/browse/WSS-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Colm O hEigeartaigh closed WSS-297.
-----------------------------------
> 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
> Fix For: 1.6.2
>
> 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">[email protected]</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: [email protected]
For additional commands, e-mail: [email protected]