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

David Lloyd (JIRA) issues at jboss.org
Tue Oct 6 22:16:01 EDT 2015


     [ https://issues.jboss.org/browse/ELY-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lloyd resolved ELY-288.
-----------------------------
    Fix Version/s: 1.1.0.Alpha1
       Resolution: Done


> 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
>            Assignee: David Lloyd
>             Fix For: 1.1.0.Alpha1
>
>
> 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