Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-24583

(7.4.z) Fix enable-elytron-se17.cli script

    XMLWordPrintable

Details

    • False
    • None
    • False
    • Hide

      mvn test -Dtest=EnableElytronSE17TestCase -Delytron -f testsuite/integration/manualmode/

      Show
      mvn test -Dtest=EnableElytronSE17TestCase -Delytron -f testsuite/integration/manualmode/

    Description

      There has been a bug introduced into the enable-elytron-se17.cli script in the latest change:

      if (outcome == success && result.application-security-domain.other == undefined) of /profile=$profile/subsystem=ejb3:read-resource(recursive)
        echo INFO: Adding application-security-domain=other to ejb3
        /profile=$profile/subsystem=ejb3/application-security-domain=other:add(security-domain=ApplicationDomain)
      end-if
      

      Above condition never evaluates as true. Correctly, there should be "result.application-security-domain == undefined" without the ".other" segment.

      The same applies to the enable-elytron-se17-domain.cli script.

      Attachments

        Issue Links

          Activity

            People

              thofman Tomas Hofman
              thofman Tomas Hofman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: