Encoding a password?

Stephen Gross <[email protected]> Tue, 14 Sep 2004 09:12:43 -0400 (EDT)
Newsgroups gmane.comp.java.netbeans.modules.javacvs.devel
Message-ID <[email protected]>
I'm new to using javacvs. I'm trying just to get the basics to work. For
the moment, I just want to be able to connect to a pserver. I already have
a pserver running, and have an account on it. I'm following the directions
on (http://javacvs.netbeans.org/library/GettingStarted.html) to establish
a connection:

    PServerConnection c = new PServerConnection();
    c.setUserName(userName);
    c.setEncodedPassword(encodedPassword);
    c.setHostName(hostName);
    c.setRepository(repository);
    c.open();

How do I encode the password? I know what password I want to use, but I
don't know how to go about encoding it.

Thanks in advance,
--Steve

Stephen Gross
Case Western School of Medicine
Department of Epidemiology and Biostatistics
(216)368-5632