[eclipse] How to change credentials for SVN repository in Eclipse?

I have Eclipse 3.4.2 installed on Windows with subclipse. Another developer added an SVN repository with his credentials and selected 'Save password'. Now every time I do anything with SVN his cached credentials are used. How can I change them to mine?

I have already checked the 'workspace/.metadata/.plugins/org.tigris...' folders, and could not find any way to reset those cached credentials.

This question is related to eclipse svn subclipse subversive

The answer is


(Windows 7 Eclipse Indigo 3.7)

C:\Users\\AppData\Roaming\Subversion\auth\svn.simple

Find svn information file and make it writable.
(they are default readonly) (no restart of eclipse required)


My wife suggested:

  1. Open SVN Repositories View
  2. Open Location Properties...
  3. Show Credentials For: press [X] button
  4. Select user, write password, press [Finish]

and all work!!!


For Mac ,

  1. Close the Eclipse Workspace
  2. Go to /Users/username/.subversion/auth/svn.simple
  3. Delete. The file inside it with encrypted(Big Alpha Numeric) file name.
  4. Open key chain(/Applications/Utilities/) and delete the key saved for SVN.
  5. Now open Eclipse workspace try to update your project , prompt will show up asking you the SVN credentials
  6. Give you updated SVN credentials and update it In keychain .

Delete the .keyring file under the location: configuration\org.eclipse.core.runtime, and after that, you will be invited to prompt your new svn account.


It's too simple to change username and password in Eclipse.

Just follow the following steps:

In your Eclipse,

Goto Window -> Show View -> Other -> (Type as) SVN Repositories -> click that(SVN Repositories) -> Right Click SVN Repositories -> Location Properties -> General tab change the following details for credentials.,

that's it.


Delete the .keyring file under the location: configuration\org.eclipse.core.runtime, and after that, you will be invited to prompt your new svn account. for me it worked.


I was able unable to locate the svn.simple file, but was able to change credentials using the following three steps:

Checkout project from SVN

enter image description here

Select the repository you need to change the credentials on (note: you will not perform an checkout, but this will bring you to the screen to enter a username/password combination).

enter image description here

Finally, enter the new username and password credentials:

enter image description here

It's a bit confusing, because you begin the process of initializing a new project, but you're only resetting the repository credentials.


Very simple step to follow: Eclipse: Window ----> Preferences -----> SVN -----> SVN Interface ----->Select SVNKit (pure Java)


Go to c:\Documents and Settings[username]\Application Data\subversion\auth\svn.simple

and delete the hexadecimal file. Normally each file is associated with one repository


On any Windows Version follow this path:

C:\Users\{user_name}\AppData\Roaming\Subversion\auth\svn.simple

Then delete the file with hexa decimal code inside this folder and restart your eclipse.


I'm using svn+ssh protocol to access SVN. What I had to do to fix a similar issue, was to open Putty and reconfigure it so that it did not have wrong_user_name@myserver but correct_user_name@myserver in the saved sessions.


I deleted file inside svn.simple directory at below path on windows machine (Windows 7):

C:\Users\[user_name]\AppData\Roaming\Subversion\auth

Problem solved.


In Eclipse: Ctrl + F8 -> SVN Repository Exploring -> Right Click in the respository -> Location Properties -> Finish ;)


There are several places on Windows where SVN will place cached credentials depending on system configuration. Read SVNBook | Client Credentials.

  • The main credential store is located in %APPDATA%\Subversion\auth and you can run svn auth command to view and manage its contents.

  • You can also run cmdkey to view the credentials stored in Windows Credential Manager.

  • If your SVN server is integrated with Active Directory and supports Integrated Windows Authentication such as VisualSVN Server, your Windows logon credentials are used for authentication, but they are not cached. You can run whoami to find out your user account name.


I figured out the method I have written below, and it works perfectly for me

in eclipse, follow these simple steps: File -> Import -> type svn -> project from svn -> next -> Create a new repository location -> Next - > You would see "Secure Storage" below the Authentication Menu. Click on this button "Secure Storage" . This is the place where we can delete all the password caches. Now once you are here, follow these:

  1. Under password tab, click "Clear passwords"
  2. Under "contents" tab, go to SVN, select each sub options, and click on "Delete"
  3. Restart eclipse

All the stored passwords are now gone, and you can use your new svn password to sync


In windows :

  1. Open run type %APPDATA%\Subversion\auth\svn.simple
  2. This will open svn.simple folder
  3. you will find a file e.g. Big Alpha Numeric file
  4. Delete that file.
  5. Restart eclipse.
  6. Try to edit file from project and commit it
  7. you can see dialog asking userName password

It worked for me.... ;)


On any Windows Version delete the following folder:

%APPDATA%\Subversion\auth

(You can copy&paste this to RUN/Explorer, and it will resolve the App-Data-Folder for you.)

On Linux and OSX it is located in

~/.subversion/auth

Source: http://www.techcrony.info/2008/03/26/admin/how-to-change-eclipse-svn-password/


On Mac OS X, go to folder /$HOME (/Users/{user home}/). You will see file '.eclipse_keyring'. Remove it. All saved credentials will be lost.


On Windows 7, go to C:\Users\%User_Name%\AppData\Roaming\Subversion and remove the auth directory. Just be aware if you are connected to more than 1 SVN server that this will remove the authentication for all of the SVN servers you have configured. If you want to reset just a single server:

Inside the auth directory you should see a folder called svn.simple. Open each of those files with a text editor to determine which one to remove and then remove just that single file.


Examples related to eclipse

How do I get the command-line for an Eclipse run configuration? My eclipse won't open, i download the bundle pack it keeps saying error log strange error in my Animation Drawable How to uninstall Eclipse? How to resolve Unable to load authentication plugin 'caching_sha2_password' issue Class has been compiled by a more recent version of the Java Environment Eclipse No tests found using JUnit 5 caused by NoClassDefFoundError for LauncherFactory How to downgrade Java from 9 to 8 on a MACOS. Eclipse is not running with Java 9 "The POM for ... is missing, no dependency information available" even though it exists in Maven Repository The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. on deploying to tomcat

Examples related to svn

Error "can't use subversion command line client : svn" when opening android project checked out from svn How to view changes made to files on a certain revision in Subversion Intellij idea subversion checkout error: `Cannot run program "svn"` How change default SVN username and password to commit changes? How to rename a file using svn? Connect Android Studio with SVN svn: E155004: ..(path of resource).. is already locked SVN Commit failed, access forbidden How to add an existing folder with files to SVN? Update OpenSSL on OS X with Homebrew

Examples related to subclipse

Failed to load JavaHL Library How to fix Subversion lock error Why do I keep getting 'SVN: Working Copy XXXX locked; try performing 'cleanup'? Associating existing Eclipse project with existing SVN repository Subclipse svn:ignore How to change credentials for SVN repository in Eclipse? Adding a SVN repository in Eclipse Rolling back bad changes with svn in Eclipse

Examples related to subversive

Unbound classpath container in Eclipse How to change credentials for SVN repository in Eclipse? How do I check out an SVN project into Eclipse as a Java project? Rolling back bad changes with svn in Eclipse