Why does the DeploymentRolesMappingProvider not map my roles correctly in JBoss?
Issue
-
Why does the DeploymentRolesMappingProvider not map my roles correctly in JBoss?
-
I have added the DeploymentRolesMappingProvider in the login-config.xml as part of my login-module specification and added <security-role> mappings in jboss-web.xml in my web project, but the mappings do not appear to be happening. I am not able to get the expected result when calling request.isUserInRole().
Environment
- JBoss Enterprise Application Platform (EAP)
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.