[jboss-jira] [JBoss JIRA] (ELY-288) Add authorize() or "changeIdentity()" method to SecurityIdentity

David Lloyd (JIRA) issues at jboss.org
Mon Sep 14 10:45:00 EDT 2015


David Lloyd created ELY-288:
-------------------------------

             Summary: Add authorize() or "changeIdentity()" method to SecurityIdentity
                 Key: ELY-288
                 URL: https://issues.jboss.org/browse/ELY-288
             Project: WildFly Elytron
          Issue Type: Enhancement
          Components: API / SPI
            Reporter: David Lloyd


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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list