[
https://issues.apache.org/jira/browse/CXF-6620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Armand Roelens updated CXF-6620:
--------------------------------
Attachment: 0001-Fix-subjectNameIDFormat-to-not-always-assume-unspeci.patch
Patch for fixing the subjectNameIDFormat to be set correctly based on principal
type.
> 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
> 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)