Fix Eclipse svn, always asking for login and password. Clear keyring or cache

By neokrates, written on May 27, 2010

howto

Rate it
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading ... Loading ...
Ad
Poll
  • Your favorite Java IDE is?

    • Eclipse (39%, 9 Votes)
    • Something else (39%, 9 Votes)
    • NetBeans IDE (17%, 4 Votes)
    • IntelliJ IDEA (4%, 1 Votes)
    • Borland JBuilder (0%, 0 Votes)
    • JCreator (0%, 0 Votes)
    • Oracle JDeveloper (0%, 0 Votes)

    Total Voters: 23

    Vote

    Loading ... Loading ...
Feeds:
  • bodytext bodytext bodytext
Most popular search terms:

Sometimes before you entered correct credentials. Now, you need to enter different credentials. And you can, but eclipse and svn always forget them.

Software:

[v] Eclipse Galileo (3.5.2)
[v] SVN 1.6.5
[v] Linux or Windows
[v] TortoiseSVN
[v] Command line Svn

Should also work for:

[v] all Eclipse and SVN combinations which rely on keyring or cache.
Windows will have somewhat different paths

1

How the password was stored

There are two SVN providers, each store authentication info different way.
To check, which one you have, go:
window->preferences then type “svn” and select svn Connector tab. It is either SVNKit or JavaHL.

2

Remove .keyring

Here, we just remove the eclipse keyring. You might want to make a backup of it, just in case.

2.1

.keyring in ~/.eclipse

Presume, your Eclipse home is in default location (~/.eclipse):

$ cd ~/.eclipse
$ find .|grep key
./configuration/org.eclipse.core.runtime/.keyring

2.2

.keyring in eclipse/configuration

The keyring might also be located in eclipse configuration as shown below:

>locate .keyring
C:\programs\dev\eclipse-cpp-galileo-subclipse\configuration\org.eclipse.core.runtime\.keyring

 
In case you have locate installed on your system (locate32 is good windows version) you want to view where your .keyring resides.

Close eclipse, remove what you have found like:

$ rm /my/eclipse/stored/it/here/configuration/org.eclipse.core.runtime/.keyring

3

Remove eclipse cash

Also, don’t forget to archive just in case.

Windows: %APPDATA%\Subversion\auth
Unix and Linux: ~/.subversion/auth

There, find and delete the stored password info.

http://www.thinkplexx.com/learn/howto/ide/eclipse/fix-eclipse-svn-always-asking-for-login-and-password-clear-keyring-or-cache

[!] For TortoiseSVN users, step 3 can also be done by pressing settings->["Saved data" TAB]->["Authentication data Clear" BUTTON] button. (See Illustration )

image002

4

Validate

Now, during the first SVN operation, Eclipse will ask you about your credentials once again. This time both pass and login fields are empty, as eclipse doesn’t have any previous data.

That’s it. Have fun :-)

 
Does that help to solve your problem?
VN:F [1.8.5_1061]
Rating: +1 (from 33 votes)
17 votes 'YES'  16 votes 'NO'

LEARN MORE (amazon bookstore)

TAGS

RELATED
Pages
Posts
    nope :(

SOCIAL
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • BlinkList
  • Blogosphere News
  • E-mail this story to a friend!
  • Furl
  • LinkArena
  • Live
  • MisterWong
  • Print this article!
  • StumbleUpon
  • Technorati
  • Webnews.de
  • YahooMyWeb

INCOMING SEARCH TERMS


One Response to “Fix Eclipse svn, always asking for login and password. Clear keyring or cache”

  1. Urs Locher says:

    thanks a bundle, this was exactly what I was looking for.

    Like or Dislike: Thumb up 0 Thumb down 0

Leave a Reply