***  This class provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.user
Class UserPWChanger

com.sas.services.user.UserPWChanger

public class UserPWChanger

Application used to change a user login credential in a deployed SAS Foundation User Service.

This utility iterates the users defined in a User Service Configuration and to change the password for the specified user identity.

Since:
9.2
See Also:
UserServiceInitObject

Constructor Summary
UserPWChanger()
           
 
Method Summary
static void main(java.lang.String[] args)
          Main method for an application which is used to change metadata for a user's password in a deployed service.
 

Constructor Detail

UserPWChanger

public UserPWChanger()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws ServiceException
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.
Since:
9.2

***  This class provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.