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

Import WS-Federation Metadata fails

    Details

    • Sprint:
      AM Sustaining Sprint 23

      Description

      Cannot upload hosted IDP metadata for WS-Federation with ssoadm. This is a regression from OpenAM 12.

      ssoadm import-entity --realm msinternal -u amadmin -f /opt/platform/openam/tools/.password --meta-data-file /opt/platform/tmp/sso.redstone.com-wsfed-meta.xml --extended-data-file /opt/platform/tmp/sso.redstone.com-wsfed-extended.xml --spec wsfed --cot mscot

      Exception in thread "main" java.lang.ClassCastException: com.sun.identity.wsfederation.jaxb.entityconfig.impl.IDPSSOConfigElementImpl cannot be cast to com.sun.identity.saml2.jaxb.entityconfig.BaseConfigType
      at com.sun.identity.federation.cli.ImportMetaData.getMetaAliases(ImportMetaData.java:705)
      at com.sun.identity.federation.cli.ImportMetaData.handleWSFedRequest(ImportMetaData.java:329)
      at com.sun.identity.federation.cli.ImportMetaData.handleRequest(ImportMetaData.java:128)
      at com.sun.identity.cli.SubCommand.execute(SubCommand.java:296)
      at com.sun.identity.cli.CLIRequest.process(CLIRequest.java:217)
      at com.sun.identity.cli.CLIRequest.process(CLIRequest.java:139)
      at com.sun.identity.cli.CommandManager.serviceRequestQueue(CommandManager.java:576)
      at com.sun.identity.cli.CommandManager.<init>(CommandManager.java:173)
      at com.sun.identity.cli.CommandManager.main(CommandManager.java:150)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markdr Mark de Reeper
                Reporter:
                joachim.andres Joachim Andres
                QA Assignee:
                Filip Kubáň [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h