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

AW: Re: Offer re-prompt to change user authn after failed commit?

From: Philipp Mott <Philipp.Mott_at_giffits.de>
Date: Mon, 6 Feb 2017 16:30:33 +0000

I can imagine logical / concept conflicts between TSVN and the underlying SVN. The auth cache is handled by SVN; TSVN just uses the SVN "API" (it's not a real API, but anyway, TSVN interfaces SVN). Rewriting SVN functionality could break with integration of the next SVN update.

There might be a solution using Autohotkey, but once you committed yourself to the dark side of hacking with AHK there hardly is a way back...

I never experimented with all the hooking features - Is there a way to call a hook upon unsuccessful authentication?

-----Ursprüngliche Nachricht-----
Von: Karl Fogel [mailto:kfogel_at_red-bean.com]
Gesendet: Montag, 6. Februar 2017 16:43
An: users_at_tortoisesvn.tigris.org; Stefan Küng
Betreff: RE: Re: Offer re-prompt to change user authn after failed commit?

(Replying to Stefan here, but thanks also to Philipp Mott for his reply, which said basically the same thing.)

On 2017-02-03, Stefan Küng wrote:
> Sorry, there's not re-prompt feature implemented.
> Subversion only asks for authentication (username/password) if
> necessary. Since auth data is already stored locally, it uses that
> data to authenticate. But the authentication succeeds! So it doesn't
> ask the user for authentication anymore.
> The problem is that the authorization later fails, which comes much
> later than the authentication.

Thank you. Yes, I understand the problem. But TortoiseSVN could still re-prompt, using this recipe:

  1) Perform default authentication

  2) Attempt the authz-requiring operation (e.g., commit)

  3) If (2) fails, look at the exact error, and...

  4) ...if it's an authz error, prompt again for new authn
     credentials and continue as if from (1).

_______________________________________________________________________________________________
Giffits GmbH
Weidestrasse 122b
22083 Hamburg
GERMANY
Tel: +49 (0)40 2788201-0
Fax: +49 (0)40 2788201-79
www.giffits.de

Sitz der Gesellschaft: Hamburg
Geschäftsführer: Thorsten Schmidt, Marcus Schulz
Handelsregister HRB 106954, Amtsgericht Hamburg Steuernummer 43/724/00701
Umsatzsteuer ID Nr. DE262054425
WEEE-REG.Nr. DE68758991

Diese E-Mail und alle beigefügten Dateien sind vertraulich und nur für den Adressaten bestimmt.
Wenn Sie nicht der richtige Adressat sind, leiten Sie diese E-Mail bitte nicht weiter, öffnen Sie etwaige Anhänge nicht,
machen Sie keine Kopien und speichern Sie diese E-Mail nicht. Informieren Sie uns bitte, indem Sie uns eine Antwort-Mail
senden oder uns telefonisch unter +49 (0402788201-0)verständigen. Löschen Sie bitte anschließend die erhaltene E-Mail aus Ihrem System.
Vielen Dank!

This email is only intended for the addressee. The content of this email, including all attachments is confidential and includes privileged material.
If you are not the intended recipient, please do not forward or disclose this email, do not open any attachments or make copies or save this email anywhere.
Please inform us about the error by returning this email or by calling us on our phone +49 (0)40 2788201-0. Please then finally delete this email from your system.
Thank you very much.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3207048

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2017-02-06 17:30:49 CET

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

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