Class CryptodocSwitchableApplicationContextFactory

  • All Implemented Interfaces:
    EventListener, ApplicationContextFactory, PropertyBackedBean, PropertyBackedBeanState, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>

    public class CryptodocSwitchableApplicationContextFactory
    extends SwitchableApplicationContextFactory
    SwitchableApplicationContextFactory that only allows the subsystem to be switched from unencrypted to encrypted, or if the two subsystems have the same ecrypted state. Switching back to unencrypted from encrypted content store is not allowed.
    Author:
    Matt Ward