Netbeans Subversion support and SVNKit Authentication
"WeserLinux19" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Everybody
I have created a Netbeans (8.1) application with a project view and I use the Subversion API from Netbeans in my application to store my files in a repository. Everything works fine.
Now, using SVNKit, I have created a repository browser which shows the items in the repository in a node tree with special actions on each node.
However, with this set up I have two authentication methods, the first with the Netbeans SVN API and the other one with the SVNKit API like
Code:
SVNClientManager manager = SVNClientManager.newInstance(null, SVNWCUtil.createDefaultAuthenticationManager(null,
getUser(), getPassword().toCharArray(), false));
Two authentication methods are not good. Does anybody know, how to read the username + password from auth-data written by the Netbeans SVN API?
A little example would be perfect.
Many thanks
Olaf