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

CXF Support in "Audience Restriction" of SAML 2 (SOAP)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-milestone2, 2.7.10
    • Fix Version/s: 3.0.4, 2.7.15
    • Component/s: WS-* Components
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      The specification part related to "Audience Restriction" is implemented by CXF (opensaml) to verify syntax but it does not enforce the specification's rule of rejecting tokens that do not include in their "Audience Restriction" list of URIs - the URI of the target (this) service provider.

      It seems like a gap in open-saml (ValidatorSuite / saml2-core-spec-validator). The proposal is to provide the fix in CXF by registering a new validator to saml2-core-spec-validator that will handle "Audience Restriction". For BWC, by default, this all thing should be disabled. Developer should be able to enable it via configuration and also set the entity-id (URI) representing the service provider URI.

      “Audience Restriction” as described in SAML specification:
      “The <AudienceRestriction> element specifies that the assertion is addressed to one or more specific audiences identified by <Audience> elements. Although a SAML relying party that is outside the audiences specified is capable of drawing conclusions from an assertion, the SAML asserting party explicitly makes no representation as to accuracy or trustworthiness to such a party”

        Attachments

          Activity

            People

            • Assignee:
              coheigea Colm O hEigeartaigh
              Reporter:
              yossico Yossi Cohen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 96h
                96h
                Remaining:
                Remaining Estimate - 96h
                96h
                Logged:
                Time Spent - Not Specified
                Not Specified