<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!ENTITY metainfo SYSTEM "metainfo.sgm">
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY Dash "&ndash;">
]>
<?Pub UDT _bookmark _target>
<?Pub Inc>
<refentry id="create-auth-realm-1">
<refmeta><refentrytitle>create-auth-realm</refentrytitle><manvolnum>1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="create-auth-realm">create-auth-realm &mdash;
adds the named authenticationrealm</primary></indexterm><indexterm><primary
sortas="adds the named authentication realm">adds the named authentication
realm &mdash; create-auth-realm</primary></indexterm><refname>create-auth-realm
</refname><refpurpose>adds the named authentication realm</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>create-auth-realm </command><arg choice="opt">&Dash;&Dash;classname <replaceable>
realm_class</replaceable></arg>&synopsis-common;
<arg>&Dash;&Dash;property(name=value)[:name=value]*</arg><arg>&Dash;&Dash;target <replaceable>
target_name</replaceable></arg><arg choice="plain"><replaceable>auth_realm_name
</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>Adds the named authentication realm. This command is supported in remote
mode only.</para>
</refsect1><?Pub Caret>
<refsect1><title>OPTIONS</title>
<variablelist termlength="medium">&options-common;
<varlistentry><term><option role="nodash">&Dash;&Dash;target</option></term>
<listitem><para>Specifies the target on which you are creating the realm.
Valid values are<itemizedlist>
<listitem><para><literal>server</literal>, which creates the realm for the
default server instance <literal>server</literal> and is the default value
</para>
</listitem>
<listitem><para><replaceable>configuration_name</replaceable>, which creates
the realm for the named configuration</para>
</listitem>
<listitem><para><replaceable>cluster_name</replaceable>, which creates the
realm for every server instance in the cluster</para>
</listitem>
<listitem><para><replaceable>instance_name</replaceable>, which creates the
realm for a particular server instance</para>
</listitem>
</itemizedlist></para>
</listitem></varlistentry>
<varlistentry><term><option role="nodash">&Dash;&Dash;classname</option></term>
<listitem><para>Java class which implements this realm.</para>
</listitem></varlistentry>
<varlistentry><term><option role="nodash">&Dash;&Dash;property</option></term>
<listitem><para>optional attributes name/value paris of provider implementation
specific attributes.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>OPERANDS</title>
<variablelist termlength="medium">
<varlistentry><term><replaceable>auth_realm_name</replaceable></term><listitem>
<para>name of this realm.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using create-auth-realm</title>
<screen>asadmin> <userinput>create-auth-realm --user admin1 --passwordfile password.txt 
--host pigeon --port 5001 --classname com.iplanet.ias.security.auth.realm.DB.Database 
--property defaultuser=admin:Password=admin db</userinput>
Command create-auth-realm executed successfully</screen>
<para>Where <filename>db</filename> is the auth realm created.</para>
</example>
</refsect1>
<refsect1><title>EXIT STATUS</title>
<variablelist termlength="medium">
<varlistentry><term>0</term><listitem><para>command executed successfully
</para>
</listitem></varlistentry>
<varlistentry><term>1</term><listitem><para>error in executing the command
</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&also-tt;</title>
<para><link linkend="delete-auth-realm-1"><citerefentry><refentrytitle>delete-auth-realm
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, <link linkend="list-auth-realms-1"><citerefentry>
<refentrytitle>list-auth-realms</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000004305>
