如何在 Eclipse 中更改 SVN 存储库的凭据?
我在 Windows 上使用 subclipse 安装了 Eclipse 3.4.2。 另一位开发人员使用他的凭据添加了 SVN 存储库,并选择了“保存密码”。 现在,每次我使用 SVN 执行任何操作时,都会使用他缓存的凭据。 我怎样才能将它们更改为我的?
我已经检查了“workspace/.metadata/.plugins/org.tigris...”文件夹,但找不到任何方法来重置这些缓存的凭据。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(21)
http://subclipse.tigris.org/wiki/PluginFAQ#head-d507c29676491f4419997a76735 feb6ef0aa8cf8 :
http://subclipse.tigris.org/wiki/PluginFAQ#head-d507c29676491f4419997a76735feb6ef0aa8cf8:
我妻子建议:
即可完成所有工作!
My wife suggested:
and all work!!!
转到 c:\Documents and Settings\[用户名]\Application Data\subversion\auth\svn.simple
并删除十六进制文件。 通常每个文件都与一个存储库相关联
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
在Eclipse中更改用户名和密码太简单了。
只需按照以下步骤操作:
在 Eclipse 中,
就这样。
It's too simple to change username and password in Eclipse.
Just follow the following steps:
In your Eclipse,
that's it.
在 Mac OS X 上,转到文件夹 /$HOME (/Users/{user home}/)。 您将看到文件“.eclipse_keyring”。
去掉它。 所有保存的凭据都将丢失。
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.
在任何 Windows 版本上删除以下文件夹:
(您可以将其复制并粘贴到 RUN/Explorer,它将为您解析 App-Data-Folder。)
在 Linux 和 OSX 上,它位于
来源:
http://www.techcrony.info/2008/03 /26/admin/如何更改-eclipse-svn-password/
On any Windows Version delete the following folder:
(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
Source:
http://www.techcrony.info/2008/03/26/admin/how-to-change-eclipse-svn-password/
在 Windows 7 上,转到 C:\Users\%User_Name%\AppData\Roaming\Subversion 并删除 auth 目录。 请注意,如果您连接到超过 1 个 SVN 服务器,这将删除您配置的所有 SVN 服务器的身份验证。 如果您只想重置一台服务器:
在 auth 目录中您应该会看到一个名为 svn.simple 的文件夹。 使用文本编辑器打开每个文件以确定要删除哪个文件,然后仅删除该单个文件。
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.
在 Windows 中:
%APPDATA%\Subversion\auth\svn.simple
svn.simple
文件夹,它对我有用......;)
In windows :
%APPDATA%\Subversion\auth\svn.simple
svn.simple
folderIt worked for me.... ;)
非常简单的步骤:
Eclipse:窗口----> 偏好设置-----> SVN-----> SVN接口----->选择SVNKit(纯Java)
Very simple step to follow:
Eclipse: Window ----> Preferences -----> SVN -----> SVN Interface ----->Select SVNKit (pure Java)
我无法找到 svn.simple 文件,但能够使用以下三个步骤更改凭据:
从 SVN 签出项目
选择您需要更改凭据的存储库(注意:您不会执行结帐,但这会将您带到屏幕以输入用户名/密码组合)。
最后,输入新的用户名和密码凭据:
这有点令人困惑,因为您开始初始化新项目的过程,但您只是重置存储库凭据。
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
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).
Finally, enter the new username and password credentials:
It's a bit confusing, because you begin the process of initializing a new project, but you're only resetting the repository credentials.
在任何 Windows 版本上,请遵循以下路径:
C:\Users\{user_name}\AppData\Roaming\Subversion\auth\svn.simple
然后删除此文件夹中带有十六进制代码的文件并重新启动 Eclipse 。
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.
(Windows 7 Eclipse Indigo 3.7)
C:\Users\\AppData\Roaming\Subversion\auth\svn.simple
找到 svn 信息文件并使其可写。
(它们默认是只读的)
(无需重启eclipse)
(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)
我想出了下面写的方法,它
在 Eclipse 中非常适合我,请按照以下简单步骤操作:
文件-> 导入-> 输入 svn -> 来自 svn 的项目 -> 下一个-> 创建新的存储库位置 -> 下一步-> 您会在身份验证菜单下方看到“安全存储”。 单击此按钮“安全存储”。 这是我们可以删除所有密码缓存的地方。 现在,一旦你在这里,请按照以下步骤操作:
所有存储的密码现在都消失了,并且您可以使用新的 svn 密码进行同步
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:
All the stored passwords are now gone, and you can use your new svn password to sync
删除位置:configuration\org.eclipse.core.runtime下的.keyring文件,然后,您将被邀请提示您新的svn帐户。
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.
删除位置:configuration\org.eclipse.core.runtime下的.keyring文件,然后,您将被邀请提示您新的svn帐户。
对我来说它有效。
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.
对于 Mac,
。
For Mac ,
.
我使用 svn+ssh 协议来访问 SVN。
要解决类似的问题,我必须做的是打开 Putty 并重新配置它,以便在保存的会话中不存在错误的用户名@myserver,而是正确的用户名@myserver。
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.
在 Eclipse 中:Ctrl + F8 -> SVN 存储库探索 -> 在存储库中右键单击 -> 位置属性-> 结束 ;)
In Eclipse: Ctrl + F8 -> SVN Repository Exploring -> Right Click in the respository -> Location Properties -> Finish ;)
我删除了 Windows 计算机(Windows 7)上以下路径的 svn.simple 目录内的文件:
问题已解决。
I deleted file inside
svn.simple
directory at below path on windows machine (Windows 7):Problem solved.
根据系统配置,SVN 将在 Windows 上的多个位置放置缓存的凭据。 阅读 SVNBook | 客户凭证。
主凭证存储位于
%APPDATA%\Subversion\auth
,您可以运行svn auth
命令查看和管理其内容。< /p>您还可以运行
cmdkey
查看 Windows 凭据管理器中存储的凭据。如果您的 SVN 服务器与 Active Directory 集成并支持集成 Windows 身份验证(例如 VisualSVN Server),则您的 Windows 登录凭据将用于身份验证,但不会缓存。 您可以运行
whoami
找出您的用户帐户名。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 runsvn 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.我一直在寻找相同的答案,但以上都不适合我。但我执行了以下步骤并得到了纠正。
我的场景:-
解决方案:-
删除本地存储的凭据。
步骤:
现在在连接 SVN 时会询问,
谢谢。
I have been searching answer for the same, but none of above didn't work for me.But I did the following steps and got rectified.
My scenario:-
Solution:-
Remove locally stored credentials.
Steps :
Now will ask while connecting SVN
Thank You