Re: question regarding PServerConnection
Robert Greig <[email protected]> Sun, 21 Jul 2002 11:03:44 +0100
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Message-ID | <[email protected]> |
Shantanu Sen wrote: > I am using the cvslib library to connect to a CVS server to carry out > various commands like checkout/checkin etc. The > org.netbeans.lib.cvsclient.connection.PServerConnection has a > setEncodedPassword method. How can I encrypt a password to supply to this > method. I have a dialog which has a password field that the user supplies > the password. I need to encrypt this password in order to call this method. > > Any help will be highly appreciated. package org.netbeans.lib.cvsclient.connection; /** * Scrambles text (the password) using the standard scheme described in the * CVS protocol version 1.10. This encoding is trivial and should not be * used for security, but rather as a mechanism for avoiding inadvertant * compromise. * @author Robert Greig */ public class StandardScrambler implements Scrambler RG
smime.p7s
(application/x-pkcs7-signature, 3.2 KB) - not displayed