mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixed ALF-11045: EncryptionCheck fails server bootstrap in read-only mode
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31498 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -21,8 +21,6 @@ package org.alfresco.encryption;
|
|||||||
import org.alfresco.error.AlfrescoRuntimeException;
|
import org.alfresco.error.AlfrescoRuntimeException;
|
||||||
import org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransactionCallback;
|
import org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransactionCallback;
|
||||||
import org.alfresco.service.transaction.TransactionService;
|
import org.alfresco.service.transaction.TransactionService;
|
||||||
import org.apache.commons.logging.Log;
|
|
||||||
import org.apache.commons.logging.LogFactory;
|
|
||||||
import org.springframework.context.ApplicationEvent;
|
import org.springframework.context.ApplicationEvent;
|
||||||
import org.springframework.extensions.surf.util.AbstractLifecycleBean;
|
import org.springframework.extensions.surf.util.AbstractLifecycleBean;
|
||||||
|
|
||||||
@@ -39,7 +37,6 @@ import org.springframework.extensions.surf.util.AbstractLifecycleBean;
|
|||||||
*/
|
*/
|
||||||
public class EncryptionChecker extends AbstractLifecycleBean
|
public class EncryptionChecker extends AbstractLifecycleBean
|
||||||
{
|
{
|
||||||
private static Log logger = LogFactory. getLog(EncryptionChecker.class);
|
|
||||||
private TransactionService transactionService;
|
private TransactionService transactionService;
|
||||||
private KeyStoreChecker keyStoreChecker;
|
private KeyStoreChecker keyStoreChecker;
|
||||||
|
|
||||||
@@ -72,7 +69,7 @@ public class EncryptionChecker extends AbstractLifecycleBean
|
|||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
});
|
}, true, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user