Can any one tell me how to authenticate users(SVN users) for a repository using SharpSVN Library. That repository should only be committed by those users. Thanks
相关问题
- java client program to send digest authentication
- PHP persistent login - Do i reissue a cookie after
- How can I set the SVN password with Emacs 23.1 bui
- How to handle “App is temporarily blocked from log
- If statements in .htaccess files, to enable passwo
相关文章
- Is there a version control system abstraction for
- Intermittent “SVNException: svn: E175002: Connecti
- IntelliJ Subversion Authentication Required Dialog
- TortoiseHG and hgsubversion (Windows): “no module
- Incompatible JavaHl library loaded
- TFS vs. JIRA/Bamboo/SVN [closed]
- User.Identity.IsAuthenticated vs WebSecurity.IsAut
- converting svn repo to git using reposurgeon
Use the Authenticate properties of
SVNClient
:For those of you who don't want to blow away your default credentials (if you're running TortoiseSVN on the same machine).
In my case, the SVN server was running VisualSVN Server 3.5.3 with Integrated Windows Authentication enabled. Using SharpSvn 1.9004.3879.127, the SVN client tried to use Windows authentication even when I configured it with a username and password:
This resulted in the following error when the application code was run by a Windows user that didn't have access to the repository:
I fixed this by only allowing
basic
anddigest
authentication:You can also override SSL certificate errors by adding an event handler to
SslServerTrustHandlers
like this: