Skip to main content

Example Setup

In the following examples, you experiment with authorization concepts and the properties of a Web Application definition.

The following steps involve code in a class named SecurityTutorial.AuthenticationExample. The instructions for creating this class are here: Code for Authentication Example. Create the class definition in the USER namespace.

Examine the Web Application definition for the Web applications in the USER namespace. To edit the definition open the Web Applications page (click [Home] > [System Administration] > [Security] > [Applications] > [Web Applications]) of the Management Portal and then click /csp/user.

Red boxes highlighting Save button, Enable Application setting, Enable setting, and Allowed Authentication Methods setting

Verify the following:

  • The Enabled box is checked.

  • No Resource required to run the application is specified.

  • Both the Unauthenticated and Password boxes are checked under Allowed Authentication Methods.

  • SecurityTutorial.AuthenticationExample is the Dispatch Class.

Click Save.

The Web Application definition specifies that the application is enabled and no resource is required to run the application.