Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2380

SecurityServices - allow integrator to run an action using the captured security context

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Final
    • None
    • Weld SPI
    • None

      Right now, an integrator must provide an instance of org.jboss.weld.security.spi.SecurityContext which is used to associate a captured security context with the current thread. However, the SPI should be more flexible. E.g. an integrator could provide a Consumer<Action> which would associate the security context automatically, when the action is performed (see for example WildFly Elytron SecutiryIdentity runAs methods).

              Unassigned Unassigned
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: