Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Removing SVN username and password from Eclipse does not work in Windows 7

I'm using Eclipse (Helios) 32Bit in Windows 7, with Subclipse 1.6.x.

I want to reset my SVN username and password. On the internet, I found the following steps:

  • Close Eclipse or RAD/WSAD
  • Navigate to the following directory replacing {User} with your Windows logon id.
  • C:\Documents and Settings{User}\Application Data\Subversion
  • Delete all files under the Subversion directory
  • Open Eclipse or RAD/WSAD
  • Synchronize with your SVN repository
  • If prompted click Accept Permanently to trust the certificate
  • When prompted enter your Subverion user id and password

These steps aren't working. When I open Eclipse again and synchronize with the repository, it doesn't ask for a username or password.


Other information:

  • I tried deleting the files in the Subversion directory, but when synchronizing, Eclipse creates a folder there again.

  • In another post I read about "deleting the .keyring file", but I couldn't find the location of this file.

  • In the Secure Storage contents tab, I only have this:

like image 961
Kanishka Panamaldeniya Avatar asked Dec 01 '11 13:12

Kanishka Panamaldeniya


1 Answers

There are different possibilities where passwords could be stored in eclipse and subversion. The keyring file is stored in an installation of eclipse I have used with subclipse at <root>/eclipse/configuration/org.eclipse.core.runtime/.keyring. You should at least look if it exists there. The location of that file may be overriden by command line parameters, but that you would know. See the article "How to change Eclipse SVN plugin password" for some more information.

For another option, you could check:

  1. Go into the Preferences by Windows > Preferences.
  2. Select there General > Security > Secure Storage.
  3. Go to the tab Contents and expand there the entry SVN.

enter image description here

You should see now a local cache of SVN related things that SVN can use to answer the password question for the server. Delete the entries that is cached for the location you want to login as a different user. Ensure that your subversion directory is cleaned as well:

  • Windows XP: C:\Documents and Settings\{User}\Application Data\Subversion
  • Windows 7: C:\Users\{User}\AppData\Roaming\Subversion\

And delete the .keyring file as well, if you find it.

like image 151
mliebelt Avatar answered Nov 13 '22 12:11

mliebelt