Java EE 5 Development using GlassFish Application Server:
The complete guide to installing and configuring the GlassFish Application Server and developing Java EE 5 applications to be deployed to this server
www.PACKTPUB.com  FREE ONLINE EDITION: Read full chapters online, download free samples from the book and more...
Book Contents Index > Chapter 8
Introduction
1: Getting Started with GlassFish
2: Servlet Development and Deployment
3: JavaServer Pages
4: Database Connectivity
5: JSP Standard Tag Library
6: JavaServer Faces
7: Java Messaging Service
8: Security
9: Enterprise JavaBeans

10: Web Services
11: Beyond Java EE

Appendix A: Sending Email from Java EE Applications

Appendix B: IDE Integration

Index

Latest Updates

Free Chapter:

Chapter 6: JavaServer Faces [ 892 kB PDF]

Code Download

Contact us

 

Chapter 8: Security

In this chapter, we will cover how to secure Java EE applications by taking advantage of GlassFish's built-in security features. Java EE security relies on the Java Authentication and Authorization Service (JAAS) API. As we shall see, securing Java EE applications requires very little coding; for the most part, securing an application is achieved by setting up users and security groups in a security realm in the application server, then configuring our applications to rely on a specific security realm for authentication and authorization.

Some of the topics we will cover include:

  • The Admin realm
  • The File realm
  • The Certificate realm
    • Creating self-signed security certificates
  • The JDBC realm
  • Custom Realms

Chapter 8: Security

  • Security Realms
    • Predefined Security Realms
      • admin-realm
      • The file Realm
      • The certificate Realm
    • Defining Additional Realms
      • Defining Additional File Realms
      • Defining Additional Certificate Realms
      • Defining an LDAP Realm
      • Defining a Solaris Realm
      • Defining a JDBC Realm
      • Defining Custom Realms
  • Summary
   

 

Paperback 400 pages
Released: October 2007
ISBN: 1847192602
ISBN 13: 978-1-847192-60-8

     

 




View the book details
on PacktPub.com

 


 
  This website is owned and maintained by Packt Publishing Ltd, 200pan lang="en-us">7. All rights reserved. Terms and Conditions/a>