在 JDeveloper 11.1.1.3 中使用带有私钥的 svn+ssh
我是政府机构的顾问。我们在整个开发过程中都对安全性有很高的要求。除此之外,我们需要使用私钥通过 svn+ssh 连接到我们的 subversion 存储库。 我们还引入了一些 Oracle 技术,这需要我们在 JDeveloper (11.1.1.3) 中进行开发。我们的工作站运行 Vista。
JDeveloper 默认通过 SVNKit 支持 svn,但也通过 JavaHL 支持。 SVNKit 支持带私钥的 svn+ssh。您可以设置系统属性svnkit.ssh2.key=path/to/private/key/file来识别密钥。我尝试在 jdev.conf 中进行设置,并且可以看到它已在 Help/About/Properties 下设置,但我仍然收到 svn: 身份验证失败。请检查您的用户名和密码。
我还尝试过让 JDeveloper 使用 JavaHL。假设您只需安装 svn 的二进制发行版,将 JavaHL DLL 放入 svn 安装的 bin 目录中,并确保它位于系统路径上。我已经用 CollabNet 和 Slik 的最新版本以及我发现的旧 svn-1.3.2 进行了尝试(JDev 文档引用了这个版本)。据说,这应该允许您在 Tools/Preferences/Versioning/Subversion 下选择 svn 实现,但只显示 SVNKit。
我的问题:
- 有没有人获得带有私钥的 svn+ssh 以便在 JDeveloper 中使用 SVNKit?
- 有人让 JDeveloper 使用 JavaHL 而不是 SVNKit 吗?
- 有没有人获得带有私钥的 svn+ssh 以便在 JDeveloper 中使用 JavaHL?
显然,如果您对上述任何一个问题回答“是”,我感兴趣的是如何? ;-)
亲切的问候,
拉斯·约翰逊
I'm a consulting at a government agency. We have high security requirements all through the development process. Amongst other things, we are required to connect to our subversion repository over svn+ssh with private keys.
We are also bringing in some Oracle tech which requires us to develop in JDeveloper (11.1.1.3). Our worksations run Vista.
JDeveloper supports svn, by default through SVNKit, but also through JavaHL.
SVNKit supports svn+ssh with private keys. You can set the system property svnkit.ssh2.key=path/to/private/key/file to identify the key. I've tried setting this in my jdev.conf and I can see it's been set under Help/About/Properties, but I still get svn: authentication failed. Please check your username and password.
I've also tried getting JDeveloper to use JavaHL. Supposedly, you just install a binary distribution of svn, put the JavaHL DLL in the bin directory of the svn installation and make sure it is on the system path. I've tried this with the latest dists from both CollabNet and Slik, and an old svn-1.3.2 I found (JDev docs refer to this version). Supposedly, this should allow you to choose your svn implementation under Tools/Preferences/Versioning/Subversion, but only SVNKit shows up.
My questions:
- Has anyone gotten svn+ssh with private key to work with SVNKit in JDeveloper?
- Has anyone gotten JDeveloper to use JavaHL instead of SVNKit?
- Has anyone gotten svn+ssh with private key to work with JavaHL in JDeveloper?
Obviously, if you answer 'yes' to any of the above, I'm interested in how? ;-)
Kind regards,
Lars Johansson
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论