@Override
    protected IDataEncrypter createDataEncrypter(IPluginRegistry pluginRegistry) {
        try {
            Class<? extends IDataEncrypter> c = engineConfig.getDataEncrypterClass(pluginRegistry);
            Map<String, String> config = engineConfig.getDataEncrypterConfig();
            IDataEncrypter encrypter = create(c, config);
            return encrypter;
        } catch (RuntimeException e) {
            if ("No IDataEncrypter class configured.".equals(e.getMessage())) { //$NON-NLS-1$
                LOGGER.info("NOTE: No explicit Data Encrypter found.  Falling back to the Default. [" + e.getMessage() + "]"); //$NON-NLS-1$ //$NON-NLS-2$
                return new DefaultDataEncrypter();
            } else {
                throw e;
            }
        }
    }
@see io.apiman.gateway.engine.impl.AbstractEngineFactory#createDataEncrypter(io.apiman.gateway.engine.IPluginRegistry)
gateway/engine/core/src/main/java/io/apiman/gateway/engine/impl/ConfigDrivenEngineFactory.java