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