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

Ghost entries in NameID Format List



    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 7.0.2
    • None
    • SAML
    • Rank:
    • 5


      Bug description

      In the 'Assertion Content' tab for a Hosted Service Provider it is possible to remove all NameID Formats from the list.  When you save the empty list, the configuration is correctly updated and can be seen by accessing the entity metadata.

      However, on refreshing the page all the Name ID formats are visible in the admin UI.  Note that the metadata (and hence config) isn't changed - unless you click Save.  At which point all the NameId Formats are re-added to the config.

      These 'ghost' entries only appear when all entries had been removed.

      How to reproduce the issue

      1. Create hosted SP
      2. Remove all NameIDFormats, click save.
      3. Consider the metadata for the entity - it correctly reflects the config
      4. Refresh page
      5. Observe that the NameIDFormat list is fully populated
      6. Note that the metadata is still devoid of the NameIds
      Expected behaviour
      NameIdFormat list should reflect the config, and not automatically add unwanted ghost entries when none are desired
      Current behaviour
      Ghost entries are added in the UI when the config has none.  This means that when 'Save' is clicked the NameID Formats are unwittingly added back into the config

      Work around

      Remember to clear the NameIDFormat list each time you load the Entity defintion, before saving




            Unassigned Unassigned
            andrew.potter Andrew Potter
            0 Vote for this issue
            3 Start watching this issue