0 Replies Latest reply on Jun 7, 2016 6:57 AM by Evelyne De Busschere

    DeploymentRolesMappingProvider maps only the last principal (picketbox)

    Evelyne De Busschere Newbie



      I'm testing the org.jboss.security.mapping.providers.DeploymentRolesMappingProvider on JBOSS EAP 6.4.


      Why do you clear the roles in the mapGroup method ?




      It results that the authenticated user only receive the last mapped roles.




      picketbox/DeploymentRolesMappingUnitTestCase.java at master · picketbox/picketbox · GitHub


      My Subject contains many principals (no java.security.acl.Group)


      I have added a unit test to reproduce the bug.