public final class PasswordsFile
extends java.lang.Object
| Constructor and Description |
|---|
PasswordsFile() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
findPassword(java.lang.String cvsRootString)
Locates scrambled password for given CVS Root.
|
static java.util.Collection |
listRoots(java.lang.String prefix)
List roots matching given prefix e.g.
|
static void |
storePassword(java.lang.String cvsRootString,
java.lang.String encodedPassword)
Writes scrambled password for given CVS root.
|
public static java.lang.String findPassword(java.lang.String cvsRootString)
cvsRootString - identifies repository session [:method:][[user][:password]@][hostname[:[port]]]/path/to/repositorynullpublic static java.util.Collection listRoots(java.lang.String prefix)
public static void storePassword(java.lang.String cvsRootString,
java.lang.String encodedPassword)
throws java.io.IOException
cvsRootString - identifies repository session [:method:][[user][:password]@][hostname[:[port]]]/path/to/repositoryencodedPassword - java.io.IOException - on write failure