Step 5: Create System Policies for three assets

In this step you must create a system policy and codebase policy for each one of the Signal, TopicService, and TopicServiceR webservices.

System policies are the system-wide policies applied to all applications deployed to the current management domain. While, codebase policy grants permissions and privileges to a codebase, which is mostly URL or location of the jar file in file system.
You must perform step 1-4, before moving to step 5.
  1. From the Weblogic Domain drop-down on the upper left, select Security, and System Policies.
  2. Select Create.
  3. On the Search section, select from the Type drop-down Codebase.
  4. In the Codebase field, enter the code base file for each path Signal, TopicService, TopicServiceR, and click Add.
  5. On the Add Permission window, select the checkbox Select here to enter details for a new permission, and add the following details:
    Field names Signal permission details
    Codebase file path Type in the detail box for each path:
    • Signal: file:${oracle.deployed.app.dir}/Signal${oracle.deployed.app.ext}
    • TopicService: file:${oracle.deployed.app.dir}/TopicsService${oracle.deployed.app.ext}
    • TopicServiceR: file:${oracle.deployed.app.dir}/TopicsServiceR${oracle.deployed.app.ext}
    Permission Class Type in the detail box: oracle.security.jps.service.credstore.CredentialAccessPermission
    Resource Name Type in the detail box: context=SYSTEM,mapName=oracle.hsgbu.empiricasignal,keyName=*
    Permission Action Type in the detail box: read
  6. Select OK.
  7. On the System Policies page, click Create Like....
  8. On the Create System Grant Like page, select from the Grant to drop-down list Codebase and enter the following codebase paths. Click Add to repeat the process for each path Signal, TopicService, and TopicServiceR.
    Field names Codebase details
    Codebase file path Type in the detail box for each path:
    • Signal: file:${domain.home}/servers/${weblogic.Name}/stage/Signal/Signal${oracle.deployed.app.ext}
    • TopicService file:${domain.home}/servers/${weblogic.Name}/stage/TopicsService/TopicsService${oracle.deployed.app.ext}
    • TopicServiceR file:${domain.home}/servers/${weblogic.Name}/stage/TopicsServiceR/TopicsServiceR${oracle.deployed.app.ext}
  9. Click OK.