Re: Encoding a password?
Martin Entlicher <[email protected]> Thu, 16 Sep 2004 18:03:44 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Message-ID | <[email protected]> |
To get the encoded password, use the StandardScrambler class: String encodedPassword = StandardScrambler.getInstance().scramble(password); -Martin Stephen Gross wrote: >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 > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > > >