-
Bug
-
Resolution: Done
-
Critical
-
7.1.0.DR13
In case when legacy security domain is used as Elytron realm then roles assigned in mapping are unavailable in Elytron security realm.
e.g. when UsersRoles login module, which assigns role JBossAdmin to user admin is used and then role User is assigned for user admin in SimpleRoles mapping module through:
<mapping> <mapping-module code="SimpleRoles" type="role"> <module-option name="admin" value="User"/> </mapping-module> </mapping>
then only role JBossAdmin is available for Elytron. Following appears in server log:
Authorizing against the following attributes: [Roles, CallerPrincipal] => [JBossAdmin, admin]
In case when this legacy security domain is used directly as PicketBox security domain, then both roles, JBossAdmin and User, are assigned to user admin.
- clones
-
WFLY-8316 Mapping roles in legacy security domain is ignored when this domain is used as Elytron realm
- Closed