SeamFramework.orgCommunity Documentation

Chapter 31. Security - Introduction

31.1. Overview
31.1.1. Authentication
31.1.2. Identity Management
31.1.3. External Authentication
31.1.4. Authorization
31.2. Configuration
31.2.1. Maven Dependencies
31.2.2. Enabling the Security Interceptor

The Seam Security module provides a number of useful features for securing your Java EE application, which are briefly summarised in the following sections. The rest of the chapters contained in this documentation each focus on one major aspect of each of the following features.

The Maven artifacts for all Seam modules are hosted within the JBoss Maven repository. Please refer to the Maven Getting Started Guide for information about configuring your Maven installation to use the JBoss repository.

To use Seam Security within your Maven-based project, it is advised that you import the Seam BOM (Bill of Materials) which declares the versions for all Seam modules. First declare a property value for ${seam.version} as follows:


You can check the JBoss Maven Repository directly to determine the latest version of the Seam BOM to use.

Now add the following lines to the list of dependencies within the dependencyManagement section of your project's pom.xml file:


Once that is done, add the following dependency (no version is required as it comes from seam-bom):


If you wish to use the external authentication module in your application to allow authentication using OpenID or SAML, then add the following dependency also: