Show TOC

Procedure documentationProtecting Java Web Applications Locate this document in the navigation structure

 

To protect a Java application, you must deny access to users, who do not have the required authorizations. To do this, you must first require the users to authenticate themselves. After the user is authenticated, the system can check if the user has the required authorizations to work with the application.

Prerequisites

Procedure

  1. Specify the authentication method that your application uses.

    More information: Specifying Authentication for the Java Application.

  2. Specify the authentication mechanism and the policy domain for your application.

    More information: Specifying Authentication Mechanisms for Java Applications.

  3. Create an application security role to protect access to the application.

    More information: Creating Application Roles for Web Access.

  4. Create a security constraint.

    More information: Creating a Security Constraint.