[jboss-jira] [JBoss JIRA] (ELY-1531) Use the same gamut of runAs*() methods for both SecurityIdentity and AuthenticationContext

Jan Kalina (JIRA) issues at jboss.org
Fri Jun 1 10:49:00 EDT 2018


    [ https://issues.jboss.org/browse/ELY-1531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13585700#comment-13585700 ] 

Jan Kalina commented on ELY-1531:
---------------------------------

[~dmlloyd], run*() methods are added into AuthenticationContext from Contextual interface.
Does this issue mean SecurityIdentity should use Contextual interface too? (and deprecate currently used runAs*() methods?)

> Use the same gamut of runAs*() methods for both SecurityIdentity and AuthenticationContext
> ------------------------------------------------------------------------------------------
>
>                 Key: ELY-1531
>                 URL: https://issues.jboss.org/browse/ELY-1531
>             Project: WildFly Elytron
>          Issue Type: Enhancement
>          Components: Authentication Client, Authentication Server
>            Reporter: David Lloyd
>
> Both AuthenticationContext and SecurityIdentity can be captured and restored in a similar manner; they should use the same gamut of {{run*()}} methods.
> The methods from {{org.wildfly.common.function.Functions}} can help with this.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list