Whitelist Favicon.ico From Application Properties File

Viewed 10

Is there a way to "whitelist" (i.e. not apply Spring Security) to files such as "favicon.ico", but to configure that in application.properties/application.yaml instead of configuring it in a Java configuration file annotated with @EnableWebSecurity?

I.E.

spring.security.something.something.whitelist=favicon.ico,other.file
0 Answers
Related