Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Follow the steps below to create a security policy to define the required security configurations.

  1. Open the Developer Studio Dashboard (click Developer Studio > Open Dashboard) and click Registry Resource.

    Image Removed

    Image Added

    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.
      create new registry resourceImage Added
    • Select the From existing template option and click Next
    .  

    • create from existing templateImage Added
    • Continue from step 5 below.
  2. Enter a name for the project and click Next.
    enter details of the new projectImage Added
  3. Enter the Maven information about the project and click Finish.
    enter maven information about the projectImage Added 
  4. Right-click on the Registry Resource Project in the left navigation panel and click New, and then select Registry Resource.
    right click and create registry resourceImage Added
  5. Anchor
    step5
    step5
    Enter a resource name and select the WS-Policy template along with the preferred registry path.
    Image RemovedImage Added
  6. Click Finish
  7. Open the created policy by double-clicking on the created policy file.
  8. 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
  9. Enable security by specifying the required scenario in the Security Form Editor. Click the icon next to each scenario for more information.
  10. You can provide service information as private store and advanced configuration information as rampart configuration.
  11. 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. 
  12. Either define the user roles inline or retrieve the user roles from the server.
    Define Inline
    Get from the server

...