Red Hat Training

A Red Hat training course is available for Red Hat JBoss Data Virtualization

7.5. Role-Based Credential Map Identity Login Module

Warning

RoleBasedCredentialMap is now deprecated.
In some cases, access to data sources is defined by roles, and users are assigned these roles, taking on the privileges that come with having them.
JBoss Data Virtualization provides a login module called RoleBasedCredentialMap for this purpose.
An administrator can define a role-based authentication module where, given the role of the user from the primary login module, this module will hold a credential for that role. Each role is associated with a set of credentials. If a user has multiple roles, the first role that has the required credential will be used.