public class ReEncryptor extends Object implements org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
ReEncryptor() |
| Modifier and Type | Method and Description |
|---|---|
int |
bootstrapReEncrypt()
Re-encrypt using the configured backup keystore to decrypt and the main keystore to encrypt
|
MetadataEncryptor |
getMetadataEncryptor() |
int |
reEncrypt()
Re-encrypt by decrypting using the configured keystore and encrypting using a keystore configured using the provided new key store parameters.
|
protected int |
reEncryptImpl() |
protected void |
reEncryptProperties(List<NodePropertyEntity> properties,
String lockToken) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setChunkSize(int chunkSize) |
void |
setDictionaryDAO(DictionaryDAO dictionaryDAO) |
void |
setJobLockService(JobLockService jobLockService) |
void |
setMetadataEncryptor(MetadataEncryptor metadataEncryptor) |
void |
setNodeDAO(NodeDAO nodeDAO) |
void |
setNumThreads(int numThreads) |
void |
setQnameDAO(QNameDAO qnameDAO) |
void |
setSplitTxns(boolean splitTxns) |
void |
setTransactionService(TransactionService transactionService)
Set the transaction provider so that each execution can be performed within a transaction
|
public void setTransactionService(TransactionService transactionService)
public void setMetadataEncryptor(MetadataEncryptor metadataEncryptor)
public MetadataEncryptor getMetadataEncryptor()
public void setJobLockService(JobLockService jobLockService)
public void setNumThreads(int numThreads)
public void setChunkSize(int chunkSize)
public void setSplitTxns(boolean splitTxns)
public void setNodeDAO(NodeDAO nodeDAO)
public void setDictionaryDAO(DictionaryDAO dictionaryDAO)
public void setQnameDAO(QNameDAO qnameDAO)
protected void reEncryptProperties(List<NodePropertyEntity> properties, String lockToken)
public int bootstrapReEncrypt()
throws MissingKeyException
MissingKeyExceptionpublic int reEncrypt()
throws MissingKeyException
MissingKeyExceptionprotected int reEncryptImpl()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2005–2020 Alfresco Software. All rights reserved.