Tools for Managing Security
■In declarative security, the container (the Enterprise Server) handles security through an application's deployment descriptors. You can control declarative security by editing deployment descriptors directly or with a tool such as deploytool. Because deployment descriptors can change after an application is developed, declarative security allows for more flexibility.
In addition to application security, there is also system security, which affects all the applications on an Enterprise Server system.
Programmatic security is controlled by the application developer, so this document does not discuss it; declarative security is somewhat less so, and this document touches on it occasionally. This document is intended primarily for system administrators, and so focuses on system security.
Tools for Managing Security
The Enterprise Server provides the following tools for managing security:
■Admin Console, a
■asadmin, a
The Java Platform, Standard Edition (Java SE) provides two tools for managing security:
■keytool, a
■policytool, a graphical utility for managing
For more information on using keytool, policytool, and other Java security tools, see JDK Tools and Utilities at http://java.sun.com/j2se/1.5.0/docs/tooldocs/#security.
In the Enterprise Profile, two other tools that implement Network Security Services (NSS) are available for managing security. For more information on NSS, go to http://www.mozilla.org/projects/security/pki/nss/. The tools for managing security include the following:
■certutil, a
■pk12util, a
98 | Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008 |