]
Darran Lofthouse resolved WFCORE-372.
-------------------------------------
Resolution: Out of Date
Marking this one as out of date as we are moving towards using WildFly Elytron - once
WildFly Elytron is integrated we will need a much higher level review of performance
optimisations that are possible.
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: 3.0.0.Beta1
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.