Discussion:
could I use exists auth infomation?
zhangthe9
2013-11-01 04:03:24 UTC
Permalink
C:\Users\xx\AppData\Roaming\Subversion\auth
already exists config file

how to use the exists infomation to config AuthenticationManager?



--
View this message in context: http://subversion.1072662.n5.nabble.com/could-I-use-exists-auth-infomation-tp185534.html
Sent from the SVNKit - Users mailing list archive at Nabble.com.
Dmitry Pavlenko
2013-11-05 18:41:14 UTC
Permalink
Hello,
You can use SVNWCUtil#createDefaultAuthenticationManager method to build ISVNAuthenticationManager instance by Subversion config directory.

See sources of SVNCommandEnvironment class (createClientAuthenticationManager() method) as an example of usage of this method:

http://svn.svnkit.com/repos/svnkit/trunk/svnkit-cli/src/main/java/org/tmatesoft/svn/cli/svn/SVNCommandEnvironment.java
--
Dmitry Pavlenko,
TMate Software,
http://subgit.com/ - git-svn bridge
Post by zhangthe9
C:\Users\xx\AppData\Roaming\Subversion\auth
already exists config file
how to use the exists infomation to config AuthenticationManager?
--
http://subversion.1072662.n5.nabble.com/could-I-use-exists-auth-infomation
-tp185534.html Sent from the SVNKit - Users mailing list archive at
Nabble.com.
Loading...