Sun GlassFish Enterprise Server v3 Prelude Administration Guide

ProcedureTo Delete an Authentication Realm

The remote delete-auth-realm command enables you to delete an existing authentication realm.

  1. Ensure that the server is running.

    Remote commands require a running server.

  2. Obtain the exact name of the realm that you are deleting.

    To list the existing realms:


    asadmin list-auth-realms
    
  3. If necessary, notify users that the realm is being deleted.

  4. Delete the realm by using the delete-auth-realm(1) command.

  5. To apply your changes, restart Enterprise Server.

    1. Stop Enterprise Server.

      For instructions, see To Stop a Domain (or Server).

    2. Start Enterprise Server.

      For instructions, see To Start a Domain (or Server).


Example 7–3 Deleting a Realm

The following example command deletes an authentication realm named db localhost:


asadmin delete-auth-realm db

Information similar to the following is displayed:


Command delete-auth-realm executed successfully.

See Also

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