I found the solution, and it seems to work: @component
@SlingServletFilter( scope = { SlingServletFilterScope.REQUEST },
pattern = "/bin/api/.*", methods = { "GET", "POST" } )
@ServiceRanking(-200) @Designate(ocd =
CorrelationLoggingFilter.Config.class) The next question is which fitler
is run first, lower or higher order/priority/ranking number?