You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2011/08/12 11:42:27 UTC

[jira] [Closed] (WSS-297) Subject Bean is missing NameID Format variable

     [ 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">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-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org