Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 46ED710063 for ; Mon, 5 Aug 2013 13:29:17 +0000 (UTC) Received: (qmail 47090 invoked by uid 500); 5 Aug 2013 13:29:16 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 47070 invoked by uid 500); 5 Aug 2013 13:29:16 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Delivered-To: moderator for users@subversion.apache.org Received: (qmail 61141 invoked by uid 99); 5 Aug 2013 10:15:09 -0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Konstantin.Kolosovsky@jetbrains.com designates 46.137.178.215 as permitted sender) Message-ID: <51FF7B07.2020803@jetbrains.com> Date: Mon, 05 Aug 2013 14:14:31 +0400 From: Konstantin Kolosovsky User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: users@subversion.apache.org CC: Konstantin.Kolosovsky@jetbrains.com Subject: Subversion 1.8 "--non-interactive" and "--force-interactive" flags behavior Content-Type: multipart/alternative; boundary="------------060406090008090407010608" X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------060406090008090407010608 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Everyone, I've got a question about "--non-interactive" and "--force-interactive" flags behavior in Subversion 1.8. I'm not subscribed to the mailing list, please put my email in Cc in any responses. We've got java application interacting with svn.exe command line utility. For Subversion 1.7 our authentication behavior was the following: - executing command using svn.exe, for instance "svn udpate" - getting "authentication realm" from process output - destroying process - creating correct credential cache for the obtained "authentication realm" (for instance, correct file with encrypted password in the "auth" folder for Windows) - executing command using svn.exe once again - so that authentication goes smoothly as necessary information is in credential cache With Subversion 1.8 client we can not get "authentication realm" to create correct credential cache information: - if not specifying "--force-interactive" flag or specifying "--non-interactive" flag - process output contains authentication failure message, but only with repository url - not the "authentication realm" - if specifying "--force-interactive" flag - process "hangs" not providing any output - so there is no way to get "authentication realm" from it and then destroy the process So the question is - is it possible to somehow return previous behavior of svn.exe client - so that it does not "hang" but just "waiting" for the "user input" providing necessary "authentication realm" in the output? Or what would you recommend in such situation when authentication is necessary when interacting with svn.exe utility from java application? Is directly specifying "--username" and "--password" keys the only available option? Many thanks, Konstantin -- Konstantin Kolosovsky Software Developer JetBrains http://www.jetbrains.com "Develop with pleasure!" --------------060406090008090407010608 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Everyone,

I've got a question about "--non-interactive" and "--force-interactive" flags behavior in Subversion 1.8.
I'm not subscribed to the mailing list, please put my email in Cc in any responses.

We've got java application interacting with svn.exe command line utility. For Subversion 1.7 our authentication behavior was the following:
- executing command using svn.exe, for instance "svn udpate"
- getting "authentication realm" from process output
- destroying process
- creating correct credential cache for the obtained "authentication realm" (for instance, correct file with encrypted password in the "auth" folder for Windows)
- executing command using svn.exe once again - so that authentication goes smoothly as necessary information is in credential cache

With Subversion 1.8 client we can not get "authentication realm" to create correct credential cache information:
- if not specifying "--force-interactive" flag or specifying "--non-interactive" flag - process output contains authentication failure message, but only with repository url - not the "authentication realm"
- if specifying "--force-interactive" flag - process "hangs" not providing any output - so there is no way to get "authentication realm" from it and then destroy the process

So the question is - is it possible to somehow return previous behavior of svn.exe client - so that it does not "hang" but just "waiting" for the "user input" providing necessary "authentication realm" in the output?
Or what would you recommend in such situation when authentication is necessary when interacting with svn.exe utility from java application? Is directly specifying "--username" and "--password" keys the only available option?

Many thanks,
Konstantin

--
Konstantin Kolosovsky
Software Developer
JetBrains
http://www.jetbrains.com
"Develop with pleasure!"
--------------060406090008090407010608--