GlassFish Server provides the following tools for managing system security:
The Administration Console is a browser-based utility used to configure security for the entire server. Tasks include managing certificates, users, groups, and realms, and performing other system-wide security tasks. For a general introduction to the Administration Console, see Administration Console.
The asadmin command-line utility performs many of the same tasks as the Administration Console. You might be able to do some things with the asadmin utility that you cannot do with the Administration Console. For a general introduction to asadmin, see asadmin Utility.
The keytool Java Platform, Standard Edition (Java SE) command-line utility is used for managing digital certificates and key pairs. For more information, see Administering JSSE Certificates.
The policytool J2SE graphical utility is used for managing system-wide Java security policies. As an administrator, you rarely use policytool.
For more information about using keytool, policytool, and other Java security tools, see Summary of Tools for Java Platform Security .