Class NodeKeystoreManager
- java.lang.Object
-
- com.sun.enterprise.admin.servermgmt.KeystoreManager
-
- com.sun.enterprise.admin.servermgmt.NodeKeystoreManager
-
public class NodeKeystoreManager extends KeystoreManager
The KeyStoreManager implementation for a node. This is used by the change-master-password command which will change the master password for a node- Author:
- Bhakti Mehta
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.sun.enterprise.admin.servermgmt.KeystoreManager
KeystoreManager.KeytoolExecutor
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.admin.servermgmt.KeystoreManager
_fileLayout, CERTIFICATE_ALIAS, DEFAULT_MASTER_PASSWORD, INSTANCE_SECURE_ADMIN_ALIAS
-
-
Constructor Summary
Constructors Constructor Description NodeKeystoreManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encryptKeystore(RepositoryConfig config, String oldPassword, String newPassword)
-
Methods inherited from class com.sun.enterprise.admin.servermgmt.KeystoreManager
addKeyPair, addKeyPair, changeKeyPassword, changeKeyStorePassword, changeKeyStorePassword, changeKeyStorePassword, changeS1ASAliasPassword, changeSSLCertificateDatabasePassword, chmod, copyCert, copyCertificates, createKeyStore, enforcePasswordComplexity, getCertificateDN, getDASCertDN, getFileLayout, getInstanceCertDN, getInvalidCertificates, getValidCertificates, openKeyStore, readPemCertificateChain, readPlainPKCS8PrivateKey, readPlainPKCS8PrivateKey, saveKeyStore, updateCertificates
-
-
-
-
Method Detail
-
encryptKeystore
public void encryptKeystore(RepositoryConfig config, String oldPassword, String newPassword) throws RepositoryException
- Throws:
RepositoryException
-
-