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/repositorynull
public 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 failureBuilt on January 12 2013. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.