Tag

WebSecurityConfigurerAdapter

0 views collected around this technical thread.

Architecture Digest
Architecture Digest
Mar 30, 2022 · Backend Development

Implementing a Custom Annotation for Anonymous Access in Spring Security

This article explains how to create a custom @IgnoreAuth annotation and integrate it with Spring Security to automatically whitelist controller methods, comparing the two standard ways of permitting requests—configure(WebSecurity) for static resources and configure(HttpSecurity) for filter‑chain‑aware endpoints—while providing full source code examples.

Custom AnnotationJavaSpring Security
0 likes · 8 min read
Implementing a Custom Annotation for Anonymous Access in Spring Security
macrozheng
macrozheng
Mar 9, 2022 · Information Security

What Replaces WebSecurityConfigurerAdapter in Spring Security 5.7? New Config Guide

Spring Security's WebSecurityConfigurerAdapter is deprecated in version 5.7, and this article explains the migration path by comparing the old and new ways to configure HttpSecurity, WebSecurity, and AuthenticationManager with practical code examples.

JavaSecurity ConfigurationSpring Boot
0 likes · 5 min read
What Replaces WebSecurityConfigurerAdapter in Spring Security 5.7? New Config Guide