This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Details of the second step in the process of creating a Web application in App Manager are shown below. 

adding policies

Adding global policies

You can enable the following global policies when adding a Web app in the App Publisher.

global policies

The above global policies are described below.

Global policyDescription
Allow Anonymous AccessSelect if you are allowing anonymous users to access apps in the App store through the Gateway Endpoint URL without logging in.
Skip Creating Proxying Web AppSelect if you are configuring an external app (e.g. Salesforce), which does not get routed through the App Manger gateway.
Publish StatisticsSelect if you are enabling the app to publish usage statistics to WSO2 BAM for viewing and analyzing the statistics.
Restrict VisibilitySelect if you are restricting the visibility of the app in the App store to a specific role(s).
Enable Single LogoutSelect if you are enabling the single logout option on the app that you are creating, so that users will be automatically logged out from the app and will be redirected to the given Logout URL.

Adding resource policies

You can add XACML-based resource policies XACML is a widely used authorization mechanism for Web resources. When creating the Web application, you can define the conditions, which should be included in the policy. Follow the steps below to add a new policy condition.

  1. In the XACML Policies section, click Add New Policy as shown below.
    add new XACML policy
  2. Enter a name for the XACML policy condition in the XACML policy editor (entitlement policy editor) as shown below.
    entitlement policy editor forXACML
  3. Edit the content under the <Condition> property, or replace the default content template
  4. Select Share this checkbox if you want to share the policy with others.  When a policy is shared, it will be available in the XACML policy list of other new Web applications.
  5. Click Validate to check the validity of the policy. It checks for syntax errors and verifies whether the condition adheres with XACML policy language specifications. 
  6. Click Save to save the policy condition details, or click Save & Close to save the changes, and close the policy editor. When the policy is saved, it gets listed under XACML policies.
  7. You can edit and delete defined XACML policies using the provided buttons.

    Only the author of the policy can edit shared policies.

  8. For instructions on step 3 of the process of creating a Web app in App Manager, see Step 3 - Web Application Resources.

  • No labels