Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5907

Full claim mapping enforcement in federated scenario

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.7.12, 3.0.1
    • None
    • STS
    • Unknown

    Description

      In case of federation claims can be mapped from one realm to another. Mapping can also include that some claim values are not relevant/desired for the target realm and thus should be omitted in the new token. However the org.apache.cxf.sts.claims.ClaimsManager enforces currently that all claim types contained in the request also must be included in the response by calling validateClaimValues(claims, targetClaims); at the end of the claim mapping. If some claim types have not been mapped to the new token, an exception is thrown. Therefore this check should be removed to allow mappings with different claim types in request and response.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jan4talend Jan Bernhardt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: