Sun Java System Portal Server 7 Command-Line Reference

psadmin set-ssoadapter-property

Description

Defines the value and type of the specified SSO adapter property

Syntax

Long Format

psadmin set-ssoadapter-property --adminuser uid --passwordfile password-filename [--template template-name | --config configuration-name] [-dn dn] --name property-name [--type [-admin | -user]] [--value property-value] [--encrypt | --decrypt]

Short Format

psadmin set-ssoadapter-property -u uid -f password-filename [-M template-name | -G configuration-name] [-d dn] -N property-name [-t [-admin | -user]] [-e property-value] [-Y | -D]

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] | [--config | -G] template-name | configuration-name

Specifies the name of the template, if the property type is admin. Specifies the name of the configuration if the property type is user.

[--name | -N] property-name

Specifies the property's name.

The following options are optional:

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

Changes the property's type to new setting.

[--value | -e] property-value

Specifies the property's value.

[-dn | -d] dn

Specifies the distinguished name where the configuration is picked from LDAP. Used in conjunction with [--config | -G]. Default is global.

[--encrypt | -Y] | [--decrypt | -D]

Specifies whether to store the property value in encrypted or clear text form.

Example

Example for setting a property of a configuration in a dn:

./psadmin set-ssoadapter-property -u amadmin -f ps-password -G test-config -N test-property -e test-value -d uid=test-user,ou=People,o=DeveloperSample,dc=india,dc=sun,dc=com