[
https://issues.apache.org/jira/browse/CXF-4543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13772937#comment-13772937
]
Oliver Wulff commented on CXF-4543:
-----------------------------------
Right now, everything is encoded as a string even the Attribute type is an
integer or something else.
The Claimshandler should be able to tell the ClaimsAttributeStatementProvider
the type of the value (int, ...) which will then result into a properly typed
saml Attribute (xsi:type=...).
We should make this change for 3.0 otherwise we have to wait for 4.0 ;-)
WDYT?
> Encode multi value claims as multi-value saml attribute
> -------------------------------------------------------
>
> Key: CXF-4543
> URL: https://issues.apache.org/jira/browse/CXF-4543
> Project: CXF
> Issue Type: Improvement
> Components: Services
> Affects Versions: 2.7.0
> Reporter: Oliver Wulff
>
> The current ClaimsAttributeStatementProvider supports encoding for string
> type value of claims. It's up to the ClaimsHandler to implement multi-value
> claim support and encoding.
> As mentioned here:
> http://cxf.547215.n5.nabble.com/SAML-2-0-attibutes-and-claims-naming-convention-td5712967.html
> The type of the value in the class Claim has to be changed from String to
> Object. The ClaimsAttributeStatementProvider can then be configured how to
> encode multi value claims. Fediz already supports both since FEDIZ-22.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira