Main method for an application which is used to
change metadata for a user's password in a deployed service.
Command line options used to run this application are summarized below.
Parameters:
args - Command line arguments specifying how to connect to the metadata server,
whether a login credential or SSPI is used, the configuration directory
for the services deployment, the name of the application containing
the user whose credential will be changed, the user id, and
the new password.
-metaserver <server>
-metaport <port>
-metarepository <repository>
-serviceDeploymentName <serviceDeploymentName>
-serviceGroupName <serviceGroupName>
-serviceName <serviceName>
-serviceApplication <serviceApplication>
-userName <userName>
-newCredential <newCredential (password)>
Connection
using a Login Credential
-metauser <userID>
-metapass <password> or -password_on_stdin true (and specify -metapass via stdin)
using SSPI
-secpackagelist <secpackagelist>
-metaspn <spn> (optional)
If the password is passed to the application via stdin
(-metapass <password>).
One may optionally specify whether
an option prompt is presented by specifying
the command line option -isPrompting <true|false>
Throws:
ServiceException - if an exception was encountered attempting to
change the password.