Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-20951

Take into account a new jakarta-authorization capability when registering JACC services

XMLWordPrintable

      The WildFly Elytron subystem now uses two separate capabilities to indicate the activation of Jakarta Authorization:

          /*
           * Prior to Jakarta EE 11 the Policy was an instance of java.security.Policy, within the Elytron subsystem
           * we would make use of an MSC service to handle the global registration. Any deployments that were utilising JACC
           * would need to depend on the "org.wildfly.security.jacc-policy" capability to ensure registration was complete
           * before processing the deployment.
           *
           * The Elytron subsystem now also supports an immediate registration which is indicated by the
           * "org.wildfly.security.jakarta-authorization" capability, if this is registered it means Jakarta Authorization
           * has already been registered.
           */
      
          public static final String ELYTRON_JACC_CAPABILITY = "org.wildfly.security.jacc-policy";
          public static final String ELYTRON_JAKARTA_AUTHORIZATION = "org.wildfly.security.jakarta-authorization";
      

              darran.lofthouse@redhat.com Darran Lofthouse
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: