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

Fail boot if EE 11 APIs are used and the security manager is enabled

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Critical Critical
    • 33.0.0.Beta1
    • None
    • EE
    • None
    • ---
    • ---

      If should be possible to detect if the server is running EE and have a subsystem step fail the boot if the SM is enabled.

      This seems like something the ee subsystem could do. Probably it can try and load jakarta.annotation.ManagedBean and if it can't check for the SM being enabled (or vice versa).

      This can't be foolproof, and I don't think it needs to be. Documentation is the primary way to address the EE 11 and the SM don't mix. But we can help by detecting the common case. And to the extent the ee subsystem can't work with jakarta.annotations, then we know anything that needs the ee subsystem also can't work. Which is likely most anything 'EE'.

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: