security realm configuration for authentication
DESCRIPTION
Weblogic Server Security Realm Configuration for webservice AuthenticationTRANSCRIPT
WLS92: User Authentication Configuration for Web Service Create Users, Group and Role:
1. Log in to Admin Console2. Click on Security Realms on the Left Menu
3. On the SecurityRealmRealmTablePage, click on myrealm
It opens the page with Settings for myrealm
4. On this page, click on Users and Groups tab
5. One users page, click on New button to create new users
6. On Create A New User page, fill in the required data and click on OK
7. After creating Users, click on Group tab on the same page, it will open up Create a New Group screen.
8. Provide the group name and description and click Ok
Group Name: clientapps
* Can be any nameDescription: Group for Client applications using Your Web Service
9. Now create Role, Click on Roles and Policies tab10. Click on Global + symbol it expand as in tree-hierarchy
11. Click on Roles hyperlink, it opens the Global Roles page
12. On Global Roles page, click on New button
13. On Create a New Role page, fill in the required role name
Name: ROLE-NAME-AS-REQUIREDProvider Name: XACMLRoleMapperNote: Role name has to be same as written in web.xml & weblogic.xml; else you would need to do changes in the EAR file
14. Click Ok, it returns back to the Global Roles page with newly created role
Create association between Users and Group and again between Group and Role:15. Click on Users and Groups tab or link as part of Navigation bar16. Go to Users tab
17. Select the user and Click on the hyperlink ( It opens the Settings of the screen
18. On this page, click on the Group tab
19. Select the Group-Name (created in step-7) from the Available list of Groups20. Move the selected Group-Name to right list (Chosen)
21. Click on Save
22. Come back to myrealm page and Click on Roles and Policies tab
23. Click on Global + symbol it expand as in tree-hierarchy
24. Click on Roles + symbol it expand as in tree-hierarchy
25. Select the Radio Button against the newly created Role, then click on Edit Role button
26. Click on Add Conditions button. On the this page, choose Group as the predicate and click on Next
27. On the next page, type the Group name as clientapps and click add
28. Click on Finish
29. On the next page, select the CheckBox against the Group name and Save
Congratulations you have configured the User authentication for your Web Service!!