Skip to Content
Spring Security in Action
book

Spring Security in Action

by Laurentiu Spilca
October 2020
Beginner to intermediate
560 pages
14h 52m
English
Manning Publications
Content preview from Spring Security in Action

9 Implementing filters

This chapter covers

  • Working with the filter chain

  • Defining custom filters

  • Using Spring Security classes that implement the Filter interface

In Spring Security, HTTP filters delegate the different responsibilities that apply to an HTTP request. In chapters 3 through 5, where we discussed HTTP Basic authentication and authorization architecture, I often referred to filters. You learned about a component we named the authentication filter, which delegates the authentication responsibility to the authentication manager. You learned as well that a certain filter takes care of authorization configuration after successful authentication. In Spring Security, in general, HTTP filters manage each responsibility that must ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Spring Security in Action, Second Edition

Spring Security in Action, Second Edition

Laurentiu Spilca

Publisher Resources

ISBN: 9781617297731Publisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link