I'm using mac os x 10.4, so when I do not provide a username in the XML attributes, it brings up the java prompt. (even when i run ant from the terminal, it brings up the java swing prompt.)
After having looked in the CredentialUtil's class, I tried playing around with the code. It seems to me that even though I can use the prompt to provide a username/password, there is another class that is overriding/discarding the username. I did not dig deeper into it than that yet.
Christopher Lee fourthcodex Manager of Product Development 312.602.1028 (office) 312.952.3553 (cell) On Dec 15, 2006, at 2:28 AM, Xavier Hanin wrote:
On 12/13/06, Christopher Lee <[EMAIL PROTECTED]> wrote:Hello all,I'm very happy that Ivy now ships with a set of more secure resolvers, asit will enable the use of Ivy for our internal projects. I've been having problems with the SSH resolver, and was wondering if anyone could help me out.I want to set up my build script to publish using the ssh- resolver, but I do not want to specify a username, so that ivy will prompt for a username and password (instead of having to hard code it). That way each developerwill have to login as themselves.however, it seems like if I do not specify the username, even when I enter in the correct username/password (replacing guest) from the SSH prompt, itcannot authenticate.Which prompt are you talking about? I'm not sure which one is really used in your case. Depending on your environment, sometime asking for credentials is done directly by the system, sometimes it's Ivy which display a dialog. Ifit's Ivy which asks for your creedentials, have a look at theCredentialsUtil class, and also the SshCache class. I can't tell really more except that it has been tested in real life, but there is no unit test, sowe may have a regression... I can't test myself since I haven't a good environment for the moment. XavierI'm trying to figure this out from the current code base, but I haven'tidentified the problem just yet.Any suggestions would be appreciated. I do not want to have to use ssh key's, as I do not want to have to set up each individual user's environmentwith the keys. Christopher Lee fourthcodex Manager of Product Development
smime.p7s
Description: S/MIME cryptographic signature
