ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Anson <dan...@germane-software.com>
Subject Re: Reading password from .cvspass file
Date Wed, 27 Aug 2003 18:52:04 GMT
Look at the NetBeans source code. They have a java cvs client and as I 
recall, they have a 'scrambler' class that encodes and decodes passwords 
into and out of .cvspass files.

http://javacvs.netbeans.org/library/

Dale


Vikas Phonsa wrote:

>Yeah Sean, that's what I am using. The aim is not to see just *** in the
>password field. But to get the password from the pass.cvspass file and
>display that as ****.
>
>
>
>Vik 
>
>-----Original Message-----
>From: W. Sean Hennessy [mailto:shennessy@goldenhourdata.com] 
>Sent: Wednesday, August 27, 2003 10:00 AM
>To: Ant Users List
>Subject: RE: Reading password from .cvspass file
>
>javax.swing.JPasswordField
>
>-----Original Message-----
>From: Vikas Phonsa [mailto:VPhonsa@suz.com]
>Sent: Wednesday, August 27, 2003 8:58 AM
>To: 'Ant Users List'
>Subject: Reading password from .cvspass file
>
>
>I am using ant for doing cvs imports and have made a small gui that allows
>the user to enter the cvsroot and password.Is there any way I can read the
>password that's stored in encrypted form in the pass.cvspass file. I want
>that when the user uses the gui for the second time , he should see the cvs
>root and those *** in the password fields on the gui.
>
>I could do this by storing the information in a properties file and reading
>from there the second time, but I don't want to store the password in a file
>in an unencrypted form ( that encryption in pass.cvspass isn't great but
>would work for me )
>
>Any ideas ??
>
>Thanks
>
>Vik
>
>-----Original Message-----
>From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
>Sent: Tuesday, August 26, 2003 11:57 PM
>To: user@ant.apache.org
>Subject: RE: Read manifest of Jar
>
><unjar src="myjar.jar" dest="tmpdir"/>
><fileset id="fs" dir="tmpdir"/>
>
>OR
>
>via <script> and Java API.
>
>
>
>Jan
>
>  
>
>>-----Original Message-----
>>From: Oliver Wulff [mailto:oliver.wulff@zurich.ch]
>>Sent: Wednesday, August 27, 2003 8:33 AM
>>To: user@ant.apache.org
>>Subject: Read manifest of Jar
>>
>>
>>How can I read the entries of an existing Jar?
>>Thanks for your help!
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message