Hi folks If I have a filter like the one shown below and in the link, is it possible to set a property so it only takes effect on a certain Runmode? I would like my filter to only run on instances having the publish run mode.
https://sling.apache.org/documentation/the-sling-engine/filters.html <https://sling.apache.org/documentation/the-sling-engine/filters.html> @Component(service = Filter.class, property = { Constants.SERVICE_DESCRIPTION + "=Demo to filter incoming requests", EngineConstants.SLING_FILTER_SCOPE + "=" + EngineConstants.FILTER_SCOPE_REQUEST, Constants.SERVICE_RANKING + "=-700", EngineConstants.SLING_FILTER_PATTERN + "=/content/my-project/.*" }) public final class OpenIDConnectFilter implements Filter { } Thanks! Cris Rockwell App Sys Analyst/Programmer Sr | U-M LSA Web Services [email protected]
