이 콘텐츠는 선택한 언어로 제공되지 않습니다.
20.4. Configuring Authentication and Role Mapping using Login Modules
When using the authentication
login-module
for querying roles from LDAP, you must implement your own mapping of Principals to Roles, as custom classes are in use. The following example demonstrates how to map a principal obtained from a login-module
to a role. It maps user principal name to a role, performing a similar action to the IdentityRoleMapper
:
Example 20.1. Mapping a Principal
Important
For information on configuring an LDAP server, or specifying users and roles in an LDAP server, refer to the Red Hat Directory Server Administration Guide.