# The Java EE 7 Tutorial

# 47 Introduction to Security in the Java EE Platform

This chapter introduces basic security concepts and security mechanisms. More information on these concepts and mechanisms can be found in the chapter on security in the Java EE 7 specification.

Other chapters in this Part discuss security requirements in web tier and enterprise tier applications.

- Chapter 48, "Getting Started Securing Web Applications" explains how to add security to web components, such as servlets.

- Chapter 49, "Getting Started Securing Enterprise Applications" explains how to add security to Java EE components, such as enterprise beans and application clients.

The following topics are addressed here:

- Overview of Java EE Security

- Security Mechanisms

- Securing Containers

- Securing GlassFish Server

- Working with Realms, Users, Groups, and Roles

- Establishing a Secure Connection Using SSL

- Further Information about Security