How to use regex-role-mapper to map similar roles from LDAP server
Issue
- Some customers with LDAP servers returning LDAP
similar roles
; need map to only one role name for the authorization process in their applications or the EAP management module.
For instance: LDAP returns roles for some users / applications such as: 'ADMIN'
, 'Admin'
, 'Administrator'
(just to name a few) and all of them must be recognized as 'Admin'
- The modification of all those
similar roles
in the LDAP server is not an option, due to those are linked or set up to many applications / users which could be hundreds or thousands.
Environment
- Red Hat Enterprise Application Platform 7.4.1 onwards
- Red Hat Enterprise Application Platform 8.x
The Elytron subsystem applied
.- LDAP server.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.