How do you handle the decrypted password when Client is passing parameters to an APE?

0 Likes

Problem:

How do you handle the decrypted password when Client is passing parameters to an APE?

Resolution:

  • Product Name: StarTeam
  • Product Version: 2005 & 2005 R2
  • Product Component: .NET SDK API
  • Platform/OS Version: Windows

Question:

How do you handle the decrypted password when Client is passing parameters to an APE?


Answer:

The StarTeam Windows client passes information to an APE that uses the StarTeam Runtime to retrieve an item and perform the appropriate operation. One of the following command formats will be passed to the APE depending on whether the user is adding, editing or reading an item from StarTeam:

Add -p user@host:port/project
-encryptedpassword password

Edit -p user@host:port/project
-encryptedpassword password
-current VMID VMID1[,VMID2,?]

Read -p user@host:port/project
-encryptedpassword password
[-cfgl|cfgd|cfgp specifier]

The -encryptedpassword option is used to pass the user?s password in an encrypted format. Due to the security policy Borland can not share StarTeam Extensions library with the customers. Hence please follow below instruction as an alternative solution


Author: Praveen Boyeneni

  • We recommend using the StarTeam Toolbar (with the "Save as default credentials for this server" checked when user login), and then the APE should be able to use the SDK"s Server.autoLogOn() method and extract the password from the Toolbar. If, some reason, users are not logged on, they can catch the exception and explicitly prompt the user for a password. AutoLogon() method is introduced in latest version of starteam .NET SDK API ( 2005 R2 release ) which is backward compatible with 2005 version.
Old KB# 28024
Comment List
Related
Recommended