Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.7
-
None
-
Unknown
Description
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.
Attachments
Issue Links
- relates to
-
CXF-6372 Generating distinct claim values for multi-value LDAP attributes
- Closed
I just changed it from String to List<String> and updated the various methods appropriately. Can you verify that that would be adequate? I really prefer the typed collection than a raw object.