...
Follow the steps below to create a security policy to define the required security configurations.
Open the Developer Studio Dashboard (click Developer Studio > Open Dashboard) and click Registry Resource.
.Tip If you already have a Registry Resource Project created, follow the steps below to create a Registry Resource in it.
- Right-click on the Registry Resource Project it in the left navigation panel and click New, and then select Registry Resource.
- Select the From existing template option and click Next
- .
- Continue from step 5 below.
- Right-click on the Registry Resource Project it in the left navigation panel and click New, and then select Registry Resource.
- Enter a name for the project and click Next.
- Enter the Maven information about the project and click Finish.
- Right-click on the Registry Resource Project in the left navigation panel and click New, and then select Registry Resource.
Enter a resource name and select the WS-Policy template along with the preferred registry path.Anchor step5 step5
- Click Finish.
- Open the created policy by double-clicking on the created policy file.
- The policy file opens in a multi page editor with a Security Form Editor as the design view and an XML editor as the source view.
Design View
Source View
- Enable security by specifying the required scenario in the Security Form Editor. Click the icon next to each scenario for more information.
- You can provide service information as private store and advanced configuration information as rampart configuration.
- For certain scenarios, you can specify user roles. After you select the scenario, scroll to the right to see the User Roles button. Alternatively, maximize the window.
- Either define the user roles inline or retrieve the user roles from the server.
Define Inline
Get from the server
...