Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-5986

SPACSUtils incorrectly determines Ignore profile mode

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.1.0-Xpress, 11.0.0, 12.0.0, 13.0.0
    • Fix Version/s: 11.0.4, 12.0.3, 13.0.0
    • Component/s: SAML
    • Labels:
    • Sprint:
      Sprint 82 - Sustaining, Sprint 83 - Sustaining

      Description

      In SPACSUtils we have the following logic:

      ignoreProfile = SAML2Utils.isIgnoreProfileSet(session);
      

      However at that point session is very likely to be null, hence the ignoreProfile mode is determined incorrectly (will be false for null sessions).

      To reproduce this:

      • enable Ignore profile at the SP
      • configure the SP to do auto-federation
      • initiate SAML authentication using a non-persistent, non-transient NameID-Format

      The usage of auto-federation is key in reproducing this issue, because local authentication based account linking will mean that the session is non-null when accessing the SAML endpoint.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markdr Mark de Reeper
                Reporter:
                peter.major Peter Major [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 5h Original Estimate - 5h
                  5h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 6h
                  6h