]
Stuart Douglas updated WFCORE-372:
----------------------------------
Fix Version/s: 1.0.0.CR1
(was: 1.0.0.Beta1)
Cache role mapping results for the span of the overall operation
----------------------------------------------------------------
Key: WFCORE-372
URL:
https://issues.jboss.org/browse/WFCORE-372
Project: WildFly Core
Issue Type: Sub-task
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Darran Lofthouse
Labels: access_control, management_security,
Fix For: 1.0.0.CR1
Look into caching role mapping results for the duration of an overall operation. This
would be an impl detail of the RoleMapper. With our standard mappers, the mapping results
should not be changing in the middle of an operation, so I believe they should be
cacheable.
Likely place to cache them is as an attachment in a context object that will be passed in
to the Authorizer. It would have to be passed in to the RoleMapper as well.