Yes, your assumption is correct
No web.xml or other configuration files to enable the filter; just add filter class to the core bundle
Sample
@Component(service = Filter.class,
property = {
EngineConstants.SLING_FILTER_SCOPE + "=" + EngineConstants.FILTER_SCOPE_REQUES...