Show TOC

Protecting Java Web ApplicationsLocate this document in the navigation structure

Prerequisites

Context

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.

Procedure

  1. Specify the authentication method that your application uses.
  2. Specify the authentication mechanism and the policy domain for your application.
  3. Create an application security role to protect access to the application.
  4. Create a security constraint.

    More information: Creating a Security Constraint .