This supplement contains the following:
Create a Producer in a portal.
psadmin create-producer --portal portal-ID --adminuser uid --passwordfile password-filename --dn orgnaization-DN --producer producer-name
psadmin create-producer -p portal-ID -u uid -f password-filename -d orgnaization-DN -N producer-name
Specifies the administrator's distinguished name.
Specifies the distinguished name for the organization where the Producer is to be created.
Specifies the administrator's password in the password file.
Specifies the portal ID.
Specifies the name of the Producer to be created.
Delete a Producer in a portal.
psadmin delete-producer --adminuser uid --passwordfile password-filename --portal portal-ID --producer producer-name
psadmin delete-producer -u uid -f password-filename -p portal-ID -N producer-name
Specifies the administrator's distinguished name.
Specifies the administrator's password in the password file.
Specifies the portal ID.
Specifies the name of the Producer to be deleted.
List all Producers for a portal.
psadmin list-producers --adminuser uid --passwordfile password-filename [--dn organization-DN] --portal portal-ID [--output output-filename]
psadmin list-producers -u uid -f password-filename [-d organization-DN] -p portal-ID [-o output-filename]
The following options are required:
Specifies the administrator's distinguished name.
Specifies the administrator's password in the password file.
Specifies the portal ID.
The following options are optional:
Specifies the distinguished name for the organization from where the producers are to be listed. If none is specified, all the producers that belong to the portal are listed.
Specifies the file to output the result of the command.
List the attributes for a Producer.
psadmin list-attributes --component producer --adminuser uid --passwordfile password-filename --portal portal-ID [--consumerregistration] [--output output-filename]
psadmin list-attributes -m producer -u uid -f password-filename -p portal-ID [-S] [-o output-filename]
The following options are required:
Specifies the administrator's distinguished name.
Specifies the name of the component. The value should be producer.
Specifies the administrator's password in the password file.
Specifies the portal ID.
The following options are optional:
Specifies that this is for a consumer registration.
Specifies the file to output the result of the command.
Display the value of an attribute for a Producer.
psadmin get-attribute --component producer --portal portal-ID --attribute-name attribute-name --adminuser uid --passwordfile password-filename [--producer producer-name] [--registrationhandle handle]
psadmin get-attribute -m producer -p portal-ID -a attribute-name -u uid -f password-filename [-N producer-name] [-H handle]
The following options are required:
Specifies the name of the Producer attribute for which the value is to be retrieved.
Attributes can be:
AllDisabled (true or false, global attribute)
Enabled (true or false )
WSDL_URL (read-only)
RegistrationRequired (true or false)
InBandRegistrationSupported (true or false)
RegistrationValidatorClassName
PublishedPortlets
UnpublishedPortlets (read-only)
RegistrationPropertyDescription
Attributes for Consumer Registrations can be:
Enabled (true or false )
ConsumerName
ConsumerAgent
MethodGetSupported
ConsumerModes
ConsumerWindowStates
ConsumerUserScopes
CustomUserProfileData
RegistrationProperties
Specifies the administrator's distinguished name.
Specifies the name of the component. The value should be producer.
Specifies the administrator's password in the password file.
Specifies the portal ID.
The following options are optional:
Specifies the name of the Producer being targeted.
Specifies the registration handle.
Set the value of an attribute for a Producer.
psadmin set-attribute --component producer --portal portal-ID --attribute-name attribute-name --adminuser uid --passwordfile password-filename [--producer producer-name] [--registrationhandle handle] [--add] [--remove] values
psadmin set-attribute -m producer -p portal-ID -a attribute-name -u uid -f password-filename [-N producer-name] [-H handle] [-A] [-E] values
Specifies the name of the component. The value should be producer.
Specifies the portal ID.
Specifies the name of the Producer attribute for which the value is to be retrieved.
Attributes can be:
AllDisabled (true or false, global attribute)
Enabled (true or false)
WSDL_URL (read-only)
RegistrationRequired (true or false)
InBandRegistrationSupported (true or false)
RegistrationValidatorClassName
PublishedPortlets
UnpublishedPortlets (read-only)
RegistrationPropertyDescription
Attributes for Consumer Registrations can be:
Enabled (true or false)
ConsumerName
ConsumerAgent
MethodGetSupported
ConsumerModes
ConsumerWindowStates
ConsumerUserScopes
CustomUserProfileData
RegistrationProperties
Specifies the administrator's distinguished name.
Specifies the administrator's password in the password file.
The following options are optional:
Specifies values to add or remove.
Specifies the name of the Producer being targeted.
Specifies the registration handle.
List the Consumers that are currently registered with a Producer.
psadmin list-consumer-registrations --portal portal-ID --producer producer-name --adminuser uid --passwordfile password-filename [--output output-filename]
psadmin list-consumer-registrations -p portal-ID -N producer-name -u uid -f password-filename [-o output-filename]
The following options are required:
Specifies the name of the Producer being targeted.
Specifies the administrator's distinguished name.
Specifies the administrator's password in the password file.
Specifies the portal ID.
The following option is optional:
Specifies the file to output the result of the command.
Create a new Consumer registration at a Producer.
psadmin create-consumer-registration --portal portal-ID --producer producer-name --registrationdatafile file --adminuser uid --passwordfile password-filename
psadmin create-consumer-registration -p portal-ID -N producer-name -x file -u uid -f password-filename
The following options are required
Specifies the administrator's distinguished name.
Specifies the administrator's password in the password file.
Specifies the portal ID.
Specifies the name of the Producer being targeted.
Specifies the properties file that lists the options to set on the new consumer registration.
Delete a Consumer registration from a Producer.
psadmin delete-consumer-registration --producer producer-name --adminuser uid --passwordfile password-filename --portal portal-ID --registrationhandle handle
psadmin delete-consumer-registration -N producer-name -u uid -f password-filename -p portal-ID -H handle
The following options are required
Specifies the name of the Producer being targeted.
Specifies the registration handle that is to be deleted.
Specifies the administrator's distinguished name.
Specifies the administrator's password in the password file.
Specifies the portal ID.
Publish Producer and Remote Portlet artifacts to the ebXML registry.
psadmin publish-registry --component producer --adminuser uid --passwordfile password-filename --portal portal-ID --producerdatafile file [--portlets portlets] [--allportlets] [--orgdatafile org-data-file]
psadmin publish-registry -m producer -u uid -f password-filename -p portal-ID -U file [-T portlets] [-L] [-O org-data-file]
The following options are required:
Specifies the administrator's distinguished name.
Specifies the name of the component. The value should be producer.
Specifies the administrator's password in the password file.
Specifies the portal ID; if this is not supplied, the default is used.
Contains the following attributes:
Name of the Producer to be published to the registry.
Description of the Producer
Producer ID as it exists in the LDAP
The following options are optional:
Publishes all the portlets that are offered by the Producers specified in the producer.id attribute. This also ignores the --portlets options.
Organization to be published. The orgdata is the file specifying the details of the organization such as:
org.name=PSAdmin Organization
org.description=Organization that offers Sun Portal WSRP Services
org.primarycontact.name=anyuser
org.primarycontact.phoneno=2298989
org.primarycontact.email=anyuser@anydomain.com
org.key=urn:cli:organization:cli
The org.key is a special attribute. If this is specified, all other attributes are ignored and the system searches for an organization that is already published in the registry with a key as specified in the value of this attribute.
List of portlets to be published. The list is specified within double-quotes space separated items. For example, NotepadPortlet BookmarkPortlet WeatherPortlet .