public class MasterPasswordFileManager extends KeystoreManager
KeystoreManager.KeytoolExecutor_fileLayout, CERTIFICATE_ALIAS, DEFAULT_MASTER_PASSWORD, INSTANCE_SECURE_ADMIN_ALIAS| Constructor and Description |
|---|
MasterPasswordFileManager()
Creates a new instance of RepositoryManager
|
| Modifier and Type | Method and Description |
|---|---|
void |
changeMasterPasswordInMasterPasswordFile(File pwdFile,
String newPassword,
boolean saveMasterPassword)
Changes the master password in the master password file
|
protected void |
changeMasterPasswordInMasterPasswordFile(RepositoryConfig config,
String newPassword,
boolean saveMasterPassword)
Changes the master password in the master password file
|
protected void |
createMasterPasswordFile(RepositoryConfig config,
String masterPassword)
Create the master password keystore.
|
protected void |
deleteMasterPasswordFile(RepositoryConfig config) |
String |
readMasterPasswordFile(RepositoryConfig config)
Return the master password stored in the master password keystore.
|
changeKeystorePassword, changeS1ASAliasPassword, changeSSLCertificateDatabasePassword, chmod, copyCertificates, createKeyStore, getCertificateDN, getDASCertDN, getFileLayout, getInstanceCertDNpublic MasterPasswordFileManager()
protected void deleteMasterPasswordFile(RepositoryConfig config)
protected void createMasterPasswordFile(RepositoryConfig config, String masterPassword) throws RepositoryException
config - masterPassword - RepositoryExceptionpublic String readMasterPasswordFile(RepositoryConfig config) throws RepositoryException
config - RepositoryExceptionprotected void changeMasterPasswordInMasterPasswordFile(RepositoryConfig config, String newPassword, boolean saveMasterPassword) throws RepositoryException
saveMasterPassword - config - newPassword - RepositoryExceptionpublic void changeMasterPasswordInMasterPasswordFile(File pwdFile, String newPassword, boolean saveMasterPassword) throws RepositoryException
saveMasterPassword - config - newPassword - RepositoryExceptionCopyright © 2017. All rights reserved.