Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-288

Add authorize() or "changeIdentity()" method to SecurityIdentity

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 1.1.0.Alpha1
    • None
    • API / SPI
    • None
    • Low

    Description

      Add a method to SecurityIdentity which accepts a name and uses it to attempt to authorize a run-as-principal operation. Unlike org.wildfly.security.auth.server.ServerAuthenticationContext#authorize(), this method performs the authorization in the context of an existing, established SecurityIdentity instead of creating a new one based off of an authentication.

      The existing authorize() method on SAC should be refactored to reuse SecurityIdentity's authorize function once this change is made.

      Attachments

        Activity

          People

            dlloyd@redhat.com David Lloyd
            dlloyd@redhat.com David Lloyd
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: