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

adding duplicate sp or idp via WIzard does not show error to end user

    XMLWordPrintable

    Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 6.5.2.3
    • None
    • SAML, XUI
    • Rank:
      1|i03iuv:

      Description

      Bug description

      When adding a duplicate SP or IDP via the Dashboard Wizard, the duplicate entry does not get entered but the end user does not get an error message.

      Concise statement summarising the error and context (remove this text)

      How to reproduce the issue

      Details steps outlining how to recreate the issue (remove this text)

      1. Go Top Level Realm Dashboard
      2. Select Configure SAMLv2Provider
      3. Select Hosted IDP or SP
      4. Under Name, select same name as an existing IDP (if you chose IDP) or SP (if you chose SP)
      5. Select Configure
      6. Wizard takes you choose Remote SP or IDP
      7. The logs show an error message but the console does not.
      libSAML2:02/03/2021 12:09:19:282 AM GMT: Thread[http-nio-8080-exec-9,5,main]: TransactionId[4e9f6ecc-d5ee-4464-8d21-6f835eab32b3-2184718]
      SAML2MetaManager.createEntity: got descriptor from SMS sp20
      libSAML2:02/03/2021 12:09:19:283 AM GMT: Thread[http-nio-8080-exec-9,5,main]: TransactionId[4e9f6ecc-d5ee-4464-8d21-6f835eab32b3-2184718]
      SAML2MetaManager.createEntity: got entity config from SMS sp20
      libSAML2:02/03/2021 12:09:19:283 AM GMT: Thread[http-nio-8080-exec-9,5,main]: TransactionId[4e9f6ecc-d5ee-4464-8d21-6f835eab32b3-2184718]
      ERROR: SAML2MetaManager.createEntity: current descriptor contains role com.sun.identity.saml2.jaxb.metadata.SPSSODescriptorType already
      
      Expected behaviour
      {..} provide error message that duplicate entry exists
      
      Current behaviour
      {...} no error message , takes you to configure remote SP or IDP screen
      

      Work around

      None

      Code analysis

      OPTIONAL - If you already investigated the code, please share your finding here (remove this text)

      org.forgerock.$className.java
      ...
      

        Attachments

          Activity

            People

            Unassigned Unassigned
            david.bate David Bate
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: