You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2016/10/14 14:12:23 UTC
[jira] [Closed] (CXF-6620) Fix DefaultSubjectProvider to support NameID formats other than “unspecified”
[ https://issues.apache.org/jira/browse/CXF-6620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh closed CXF-6620.
------------------------------------
> Fix DefaultSubjectProvider to support NameID formats other than “unspecified”
> -----------------------------------------------------------------------------
>
> Key: CXF-6620
> URL: https://issues.apache.org/jira/browse/CXF-6620
> Project: CXF
> Issue Type: Bug
> Affects Versions: 3.0.5, 3.1.2
> Reporter: Armand Roelens
> Assignee: Colm O hEigeartaigh
> Fix For: 3.0.7, 3.1.4
>
> Attachments: 0001-Fix-subjectNameIDFormat-to-not-always-assume-unspeci.patch, CXF305DefaultSubjectProviderFix.png, CXF306-312DefaultSubjectProviderFix.png
>
>
> The DefaultSubjectProvider does not set “subjectNameIDFormat" to formats other than unspecified. It needs to set the format correctly based on the type of principal.
> Refer to the screenshots below that contain an example of a possible fix for CXF versions: 3.0.6-3.1.X and CXF versions: 3.0.5 and below respectively:
> Screenshot from CXF 3.0.5 and below: Shows code from getSubject()
> Screenshot from CXF 3.0.6 +: Shows code from createSubjectBean()
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)