step 3 - Define User and Role Mapping
We already did define a role “SL_ADMIN” in your web application. But this is only a logical role inside your application which we have to map to a real world role. There are two ways to achieve this:
- Define mapping in your application with application.xml and ibm-application-bnd.xml
- Define mapping in WebSphere with admin console.
Note: For phase 1, we are going with "Mapping in WebSphere with admin console".
You have to choose “Applications”/”Application Types”/”WebSphere enterprise applications” and select your application from the table. Now choose “Security role to user/group mapping”: