concept pre - filter in category spring
appears as: A pre-filter, The pre-filters, pre-filter

This is an excerpt from Manning's book Spring Microservices in Action, 2E.
Pre-filters. A pre-filter is invoked before the actual request is sent to the target destination. A pre-filter usually carries out the task of making sure that the service has a consistent message format (key HTTP headers are in place, for example) or acts as a gatekeeper to ensure that the user calling the service is authenticated (they are whom they say they are) and authorized (they can do what they're requesting to do).
Figure 8.14 Logger output that shows the pre-filter, the organization service processing data and the post-filter data.
![]()