RolesMappingProvider does not cache results

Solution Unverified - Updated -

Issue

  • We have implemented a mapping mechanism for the security roles by implementing the interface org.jboss.security.mapping.MappingProvider<RoleGroup>and configuring it in the security-domain.The mapping is done on every check with isUser/CallerInRole.The mapping is called x times for each request and we want to configuring caching of the same.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.3.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content