Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
User Commandscreate-auth-realm(1)


NAME

 create-auth-realm - adds the new authorized realm for the named instance

SYNOPSIS

 create-auth-realm --user admin_user[ --password admin_password ][ --host localhost ] [ --port 4848 ][ --passwordfile filename ][ --secure|-s ][ --instance instance_name ] --classname realm_class[ --property (name=value)[:name=value]* ]auth_realm_name

DESCRIPTION

 

Adds the named authorized realm associated with the named server instance.


OPTIONS

 
--user
administrative user associated for the instance.
--password
administrative password corresponding to the administrative user.
--host
host name of the machine hosting the administrative instance.
--port
administrative port number associated with the administrative host.
--passwordfile
file containing passwords appropriate for the command (e.g., administrative instance).
--secure
if true, uses SSL/TLS to communicate with the administrative instance.
--instance
name of the instance.
--classname
Java class which implements this realm.
--property
optional attributes name/value paris of provider implementation specific attributes.

OPERANDS

 
auth_realm_name
name of this realm.

EXAMPLES

 Example 1. Using create-auth-realm
 
 
asadmin> create-auth-realm --user admin --password adminadmin 
--host bluestar --port 4848 --instance server1 
--classname com.iplanet.ias.security.auth.realm.DB.Database 
--property defaultuser=admin:Password=admin db
Created Auth realm with id = db

Where db is the auth realm created.


EXIT STATUS

 
0
command executed successfully
1
error in executing the command

SEE ALSO

 

delete-auth-realm(1), list-auth-realms(1)



Go To TopLast Changed April 2004