|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgoldengate.uip.GgPassword
public class GgPassword
Console Command Line Main class to provide Password Management for GoldenGate Products.
Field Summary | |
---|---|
static boolean |
clearPasswordView
|
static String |
cpwd
|
static boolean |
desModel
|
static String |
GGPEXTENSION
|
static String |
HELPOPTIONS
|
static String |
ki
|
static String |
ko
|
static String |
pi
|
static String |
po
|
static String |
pwd
|
Constructor Summary | |
---|---|
GgPassword()
|
Method Summary | |
---|---|
void |
createNewKey()
Create a new Key but do not save it on file |
String |
getClearPassword()
|
String |
getCryptedPassword()
|
File |
getKeyFile()
|
File |
getPasswordFile()
|
boolean |
keyReady()
|
void |
loadKey(File file)
|
static boolean |
loadOptions(String[] args)
|
void |
loadPasswordFile()
Load the crypted password from the file |
static void |
main(String[] args)
|
void |
saveKey(File file)
|
void |
savePasswordFile()
Save the Crypted Paswword to the File |
void |
setClearPassword(String passwd)
Set the new password and its crypted value |
void |
setCryptedPassword(String cryptedPassword)
|
void |
setPasswordFile(File passwordFile)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean desModel
public static boolean clearPasswordView
public static String HELPOPTIONS
public static String GGPEXTENSION
public static String ki
public static String ko
public static String pi
public static String po
public static String pwd
public static String cpwd
Constructor Detail |
---|
public GgPassword() throws Exception
Exception
Method Detail |
---|
public static void main(String[] args) throws Exception
args
-
Exception
public static boolean loadOptions(String[] args)
public void createNewKey() throws Exception
Exception
public void loadKey(File file) throws goldengate.common.exception.CryptoException
file
- source file
goldengate.common.exception.CryptoException
public void saveKey(File file) throws goldengate.common.exception.CryptoException
file
- destination file, if null previously set file is used
goldengate.common.exception.CryptoException
public boolean keyReady()
public File getKeyFile()
public void setClearPassword(String passwd) throws Exception
passwd
-
Exception
public File getPasswordFile()
public void setPasswordFile(File passwordFile)
passwordFile
- the passwordFile to set
IOException
public void savePasswordFile() throws IOException
IOException
public void loadPasswordFile() throws Exception
Exception
public String getCryptedPassword()
public void setCryptedPassword(String cryptedPassword) throws Exception
cryptedPassword
- the cryptedPassword to set
Exception
public String getClearPassword()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |