sun.com | docs.sun.com |  | How To Buy | My Sun | Worldwide Sites |

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 Commands | create-auth-realm(1)

- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- OPERANDS
- EXAMPLES
- EXIT STATUS
- SEE ALSO

## 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)

Sun Java System Application Server | Go To Top | Last Changed 24 Dec 2003

Company Info | Contact | Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.