Resolves an issue in which the SVN plugin in eclipse always prompts for a password

Source: Internet
Author: User
Tags svn

I. BACKGROUND

In the recent use of the SVN plugin in Eclipse remote Warehouse code management, always appear prompt to enter the password, especially annoying, after efforts to finally solve the problem, bring to share with you ~

Second, the SVN plug-in password mechanism and the cause analysis of the problem

When we first use the SVN plugin and enter a password, we generate a file to save the password, and each time the SVN plugin defaults to read the user name and password information. When you start eclipse, the configuration information is automatically read into the program cache.

After the SVN password is modified, you cannot log in again, and you are not prompted to re-enter the password. At this point, we can let the SVN plugin prompt us to re-enter the password by deleting the relevant configuration file. However, Eclipse will read the cache files first, and eclipse will read the files in the cache by default when you delete the configuration file. Therefore, when reading the SVN information, always prompt for the user name and password.

Iii. Solutions

We can solve this problem in two steps, first delete the corresponding file that holds the SVN login information, and then restart Eclipse to clear the cache and regenerate it.

1. What is the SVN interface we are using now in eclipse? Windows > Preference > Team > SVN #SVN interface

    

2. If the Javahl is used, locate the following directory and delete the files in the Auth directory.

Win7:c:\documents and Settings\administrator\application data\subversion

Win10:c:\users\ System account name \appdata\roaming\subversion

3. If you are using the Svnkit, locate the following directory and delete the. keyring file. {Eclipse_home}\configuration\org.eclipse.core.runtime

On the Gaocheng, restarting eclipse again and using the plugin will find the prompt to re-enter the username password, which will not be entered after saving.

Resolves an issue in which the SVN plugin in eclipse always prompts for a password

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.