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

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

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.0.0.Final
    • Component/s: Weld SPI
    • Labels:
      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).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mkouba Martin Kouba
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: