Uploaded image for project: 'JBoss Server Migration Tool'
  1. JBoss Server Migration Tool
  2. CMTOOL-199

Migrations to JBoss EAP 7.2 add outdated Elytron subsystem configurations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.3.0.Alpha1
    • 1.0.3.Final
    • EAP 7.2

      Elytron subsystem configuration created by the tool doesn't match the upstream default.

      permission-set - type:OBJECT
      Expected (target server default):
      {
          "login-permission" : {"permissions" : [{"class-name" : "org.wildfly.security.auth.permission.LoginPermission"}]},
          "default-permissions" : {"permissions" : [
              {
                  "class-name" : "org.wildfly.extension.batch.jberet.deployment.BatchPermission",
                  "module" : "org.wildfly.extension.batch.jberet",
                  "target-name" : "*"
              },
              {
                  "class-name" : "org.wildfly.transaction.client.RemoteTransactionPermission",
                  "module" : "org.wildfly.transaction.client"
              },
              {
                  "class-name" : "org.jboss.ejb.client.RemoteEJBPermission",
                  "module" : "org.jboss.ejb-client"
              }
          ]}
      }
      
      Actual (created by migration tool):
      null
      ===============================
      simple-permission-mapper - type:OBJECT
      Expected (target server default):
      {"default-permission-mapper" : {
          "mapping-mode" : "first",
          "permission-mappings" : [
              {
                  "principals" : ["anonymous"],
                  "permission-sets" : [{"permission-set" : "default-permissions"}]
              },
              {
                  "match-all" : true,
                  "permission-sets" : [
                      {"permission-set" : "login-permission"},
                      {"permission-set" : "default-permissions"}
                  ]
              }
          ]
      }}
      
      Actual (created by migration tool):
      {"default-permission-mapper" : {
          "mapping-mode" : "first",
          "permission-mappings" : [
              {
                  "principals" : ["anonymous"],
                  "permissions" : [
                      {
                          "class-name" : "org.wildfly.extension.batch.jberet.deployment.BatchPermission",
                          "module" : "org.wildfly.extension.batch.jberet",
                          "target-name" : "*"
                      },
                      {
                          "class-name" : "org.wildfly.transaction.client.RemoteTransactionPermission",
                          "module" : "org.wildfly.transaction.client"
                      },
                      {
                          "class-name" : "org.jboss.ejb.client.RemoteEJBPermission",
                          "module" : "org.jboss.ejb-client"
                      }
                  ]
              },
              {
                  "match-all" : true,
                  "permissions" : [
                      {"class-name" : "org.wildfly.security.auth.permission.LoginPermission"},
                      {
                          "class-name" : "org.wildfly.extension.batch.jberet.deployment.BatchPermission",
                          "module" : "org.wildfly.extension.batch.jberet",
                          "target-name" : "*"
                      },
                      {
                          "class-name" : "org.wildfly.transaction.client.RemoteTransactionPermission",
                          "module" : "org.wildfly.transaction.client"
                      },
                      {
                          "class-name" : "org.jboss.ejb.client.RemoteEJBPermission",
                          "module" : "org.jboss.ejb-client"
                      }
                  ]
              }
          ]
      }}
      

              emartins@redhat.com Eduardo Martins
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: