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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.