Sun GlassFish Enterprise Server v3 Prelude Administration Guide

ProcedureTo List Authentication Realms

The remote list-auth-realms command enables you to list the existing authentication realms.

  1. Ensure that the server is running.

    Remote commands require a running server.

  2. List realms by using the list-auth-realms(1) command.


Example 7–2 Listing Realms

The following example command lists the authentication realms on localhost:


asadmin list-auth-realms

Information similar to the following is displayed:


db
certificate
file
admin-realm
Command list-auth-realms executed successfully.

See Also

To see the full syntax and options of the command, type asadmin list-auth-realms --help at the command line.