Sun Java System Portal Server 7 Command-Line Reference

psadmin create-ssoadapter-property

Description

Creates an SSO adapter property of either the admin or user type.

Syntax

Long Format

psadmin create-ssoadapter-property --adminuser uid --passwordfile password-filename --template template-name --type [admin | user] --name property-name [--value property-value] [--encrypt]

Short Format

psadmin create-ssoadapter-property -u uid -f password-filename -M template-name -t [admin | user] -N property-name [-e property-value] [-Y]

Options

The following options are required:

[--adminuser | -u] uid

Specifies the administrator's distinguished name (dn) or the user ID (uid).

[--passwordfile | -f] password-filename

Specifies the administrator's password in the password file.

[--template | -M] template-name

Specifies which SSO adapter template the new property is assigned to.

[--type | -t] [admin | user]

Specifies the type of the new property.

[--name | -N] property-name

Specifies the name of the new property.

The following options are optional:

[--value | -e] property-value

Specifies the value of the property. This option is used only while creating an admin type property

[--encrypt | -Y]

Specifies whether the property value will be stored in encrypt form.

Example

Example for creating a property in a template:

./psadmin create-ssoadapter-property -u amadmin -f ps-password -M test-template -N test-property -e test-value -t admin