Sun GlassFish Enterprise Server v3 Prelude Administration Guide

ProcedureTo Create an Authentication Realm

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

  1. Ensure that the server is running.

    Remote commands require a running server.

  2. Create a realm by using the create-auth-realm(1) command.

Example 7–1 Creating a Realm

The following example command creates a realm named db:

asadmin create-auth-realm --classname 
--property defaultuser=admin:Password=admin db

Information similar to the following is displayed:

Command create-auth-realm executed successfully.

See Also

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