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:
Derek Hulley
2011-10-26 23:54:24 +00:00
parent ec302df6ed
commit e5c656e9ae

View File

@@ -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