Sun Java System Portal Server 7.1 Command Line Reference

psadmin provision-sra

Description

For portal and psconsole to be accessed through gateway, the related URLs must be added to the Non-Authenticated URLs of the gateway profile and certain entries should be added to the Map URIs to Rulesets of the gateway profile. Also portal url should be added to the URLs to which User Session Cookie is forwarded. Cookie management should be enabled if psconsole is to be accessed through the gateway. The psadmin provision-sra command provides a simpler way to perform these steps. It uses the abstraction provided by the framework in terms of portal-Id and instance-Id for generating the URLs.

Syntax

Long Format

psadmin provision-sra --adminuser admin_user [--passwordfile password_file] [--debug] [--portal portal_id] [--loadbalancer-url protocol://loadbalancer_host:loadbalancer_port/portaluri] [--instance instance_id] [--console] [--console-url protocol://console_host:console_port/psconsoleuri] --gateway-profile gateway_profile --enable|--disable

Short Format

psadmin provision-sra -u admin_user -f password_file [--debug] [-p portal_id] [--loadbalancer-url protocol://loadbalancer_host:loadbalancer_port/portaluri] [-i instance_id] [--console] [--console-url protocol://console_host:console_port/psconsoleuri] --gateway-profile gateway_profile --enable|--disable

Options

The following options are required:

[--adminuser | -u] uid

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

[--passwordfile | -f] password-filename

Specifies the administrator's password in the password file.

--gateway-profile

Specifies the SRA profile name.

The following options are optional:

[--portal | -p] portal_id

Specifies the identifier of the Portal that this command is operated on.

[--loadbalancer-url] protocol://loadbalancer_host:loadbalancer_port/portaluri

Specify the URL of the load balancer if portal is being accessed through a load balancer.

[--instance | -i] instance-name

Specifies the identifier of the Portal Server Instance.

--console

Specifies whether the psconsole related URLs should be added to the Non-Authenticated URLs of the psconsole.

--console-url protocol://console_host:console_port/psconsoleuri

Access URL of psconsole. If --console-url is not specified and the --console option is present, then /psconsole will be used as the console URI.

--debug

This flag is used for debugging purpose only, set this flag to true to see exceptions that caused the error. (false)

--enable

For enabling sra access for portal and/or psconsole.

--disable

For disabling sra access for portal and/or psconsole