Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
7.6. Configuring the Role-Based Credential Map Identity Login Module
Warning
Procedure 7.2. Configure Role-Based Credential Map Identity Login Module
Create the Login Module
Configure authentication modules using the Management Console according to the following specification:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Complete the Configuration
Configure the data source or connection factory in the same way as for theCallerIdentityLoginModule.
In the above example, the primary login module UsersRolesLoginModule is configured to login the primary user and assign some roles. The RoleBasedCredentialMap login module is configured to hold role to password information in the file defined by the credentialMap property. When the user logs in, the role information from the primary login module is taken, and the role's password is extracted and attached as a private credential to the Subject.
Note
credentialMap property.