Return to site

๐Ÿƒ๐ŸŽ“ SPRING CERTIFICATION QUESTION: What is the security filter chain?

ยท vcp,spring

Answer:

๐น๐‘–๐‘™๐‘ก๐‘’๐‘Ÿ๐ถโ„Ž๐‘Ž๐‘–๐‘›๐‘ƒ๐‘Ÿ๐‘œ๐‘ฅ๐‘ฆ maintains a list of ๐‘†๐‘’๐‘๐‘ข๐‘Ÿ๐‘–๐‘ก๐‘ฆ๐น๐‘–๐‘™๐‘ก๐‘’๐‘Ÿ๐ถโ„Ž๐‘Ž๐‘–๐‘› objects each of which is capable to decide whether it should be applied to a web-request or not.

The first filter-chain which matches the request is responsible for its processing.

Internally ๐‘†๐‘’๐‘๐‘ข๐‘Ÿ๐‘–๐‘ก๐‘ฆ๐น๐‘–๐‘™๐‘ก๐‘’๐‘Ÿ๐ถโ„Ž๐‘Ž๐‘–๐‘› is itself a list of ๐น๐‘–๐‘™๐‘ก๐‘’๐‘Ÿ objects plus single instance of ๐‘…๐‘’๐‘ž๐‘ข๐‘’๐‘ ๐‘ก๐‘€๐‘Ž๐‘ก๐‘โ„Ž๐‘’๐‘Ÿ which actually performs url-matching.

#spring #certificationquestion #vcp

A Custom Filter in the Spring Security Filter Chain๐Ÿ‘‰ https://www.baeldung.com/spring-security-custom-filter