I tried using this in EAP 5 without success. The mapping did not take. Is this supported in EAP 5? I was however able to use the RoleMappingLoginModule successfully.