]
David Lloyd commented on ELY-1531:
----------------------------------
It would be very difficult to do so in a clean manner I think.
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.