Configuring Command Line Clients for Advanced Authentication
Command line java clients executed via the windchill script (or directly by calling java [classname]) may be unable to authenticate against more advanced authentication solutions, such as single sign-on. The Windchill server is a trusted server and a user name can be specified as a command line argument to execute the command as a particular user. When using the windchill script, the --javaargs argument can be used to specify this user: windchill --javaargs="-Dwt.auth.trustedAuth.username=username" <windchill java class>.