[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: [Subclipse-users] JavaHL is not asking for authentication when using via eclipse / subclipse??

From: Alexander Kitaev <alex_at_tmate.org>
Date: 2006-01-20 12:02:25 CET

Hello Yves,

JavaHL uses different credentials cache then JavaSVN. JavaHL stores
credentials in user's home directory and JavaSVN, when used with Subclipse,
uses Eclipse keyring file. So, it may happen that you already used command
line svn client and credentials are cached in your home directory (and thus
available for JavaHL) but not yet for JavaSVN.

Alexander Kitaev,
TMate Software,
http://tmate.org/
http://jetbrains.com/tmate/

> -----Original Message-----
> From: Yves Arikoglu [mailto:yves030@gmx.de]
> Sent: Friday, January 20, 2006 1:57 PM
> To: users@subclipse.tigris.org
> Subject: [Subclipse-users] JavaHL is not asking for
> authentication when using via eclipse / subclipse??
>
> Hi there,
>
> i have a fresh installation of eclipse 3.1.1 i have installed
> the lates subversion (1.3) without berkeley-db i have
> installed the latest subclipse plugin...
> i am using httpd: apache2
>
> and now my question:
>
> if i add a repository location in eclipse and use the JavaHL
> as adaper, i don?t get asket for my credential... i have full
> access to the repository! if i use JavaSVN instead,
> everything is correct... bevor i can access the repository, i
> must enter username and password.
>
> i have two different repositories and this strange bevaviour
> only occurs, when using BASIC Authentication (if i access the
> repository via a webbrowser, everything is fine, the browser
> asks for authentication...) When i secure the access to the
> repository with kerberos authentication both Adapter JavaHL
> and JavaSVN work as they should.. The kerberos authentication
> scheme is needful to me, because i dont have to setup
> user-accounts, instead they are already authenticated against
> the windows-domain. This works fine!
>
> Can anybody give me a hint, please? thanks so far,
>
> yves
>
> the httpd.conf part looks like this:
> <Location /SVN_A>
> DAV svn
> SVNPath /usr/local/SVN_Repository_A
> SVNIndexXSLT "/svnindex.xsl"
>
> Options Indexes MultiViews ExecCGI
> AllowOverride AuthConfig Options Limit FileInfo Order
> allow,deny Allow from all AuthName "Kerberos Login @ SVN_A Repository"
> AuthType Kerberos
> KrbAuthRealms ABC.COM
> KrbMethodNegotiate on
> KrbAuthoritative on
> KrbSaveCredentials on
> KrbVerifyKDC on
> Krb5Keytab /etc/adm.keytab
> KrbServiceName HTTP
> KrbMethodK5Passwd on
> require valid-user
> <IfModule mod_proxy.c>
> </IfModule>
> </Location>
>
>
> <Location /SVN_B>
> DAV svn
> SVNPath /usr/local/SVN_Repository_B
> SVNIndexXSLT "/svnindex.xsl"
> AuthType Basic
> AuthName "Subversion repository B"
> AuthUserFile /etc/.svn-auth-file-B
> Require valid-user
> </Location>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Fri Jan 20 12:03:16 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.