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

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

    XMLWordPrintable

Details

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

    Description

      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).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: