As required in [1] Some people migrating from previous versions of WildFly to the latest
version are struggling with the migration of the RoleMapping login module. The equivalent
of the RoleMapping login module is the mapped-role-mapper, which can achieve similar
behavior.The main challenge comes from the fact that a properties file was previously used
to map REALM roles to APPLICATION roles, and with mapped-role-mapper, this no longer seems
possible. The proposal is to create a new role mapper based on a properties file to match
REALM roles to APPLICATION roles. If you're interested and have time, please let me
know, see the following Feature Issue and Proposal
Feature Issue:
https://github.com/wildfly/wildfly-proposals/issues/711
Proposal:
https://github.com/wildfly/wildfly-proposals/pull/712
[1]
https://issues.redhat.com/browse/WFLY-20384
Thank you
Pedro Henrique Silva