[Fixed] Spring Security WebSecurityConfigurerAdapter Deprecated

preview_player
Показать описание
Guide to fix the warning message "The type WebSecurityConfigurerAdapter is deprecated" in a Spring Boot application using Spring Security.
How to update Spring Security configuration class to get rid of the error Web security configurer adapter deprecated.
Рекомендации по теме
Комментарии
Автор

I'm really not a big fan of this change. Did anyone ask for this? I mean, just how many guide and tutorials did they break with this update. Spring Security is already very difficult to learn for beginners and first-time users, now it's just going to make it even more complicated.

bezbos
Автор

thanks for the suggestion!, i will use it later and implement it to my app

ziaurrahman
Автор

Sir What to do with this method
@Override
protected void auth) throws Exception {



}

Will it be the same or changes will be required, showing error

ajitkumarneeraj
Автор

Sevgili dostum, ingilizce bilmiyor olmama rağmen olayı anlamış olmam senin başarın
Teşekkür ediyorum👍

mucizelerden
Автор

Thanks for the update... I purchased this course nahm...do we have any videos regarding Java agent in this channel...

maheshbabunadigoti
Автор

how could I do to allow anyone to access a password reset page?

alberiinaciodasilva
Автор

After login, back acs url has error 403. Please help me.

lehienisbk
Автор

I have an error in websecuritycostmizer and also even after doing this changes k got this err while runing the app : Failed to process import candidates for configuration class class path resource cannot be opened because it does not exist

ayael
Автор

What language do you speak my friend?

Anyway, very good video! Thank you

dmeritano
Автор

Hi dear I'm recently doing my project by following you spring boot ultimate course. I followed this video and my deprecated problem is solved. but when I dont know how to convert this below code. I can not use authenticationManagerBuilder if I don't use "extends WebSecurityConfigurerAdapter" . I've tried following this video but everytime I enter right password it says either bad credential or user is disabled. Please help me converting this below code without WebSecurityConfigurerAdapter.
@Override
protected void auth) throws Exception {

}

yasminnadia
Автор

whether the Full working code is available for download? Utility and filter class is available?

chandnisudhan
Автор

Seem like antMatchers is deprecated too. The server fail to start because the method antMatchers(String) is undefined for the type
When I change to requestMatchers("/resources/static/**"), the server can start without error, but can't access all my files inside resources/static folder and all css are all gone.
Need your guide. Thanks~

TrungLe-reso
Автор

I removed extends WebSecurityConfigurerAdapter still getting this error: Caused by: Found WebSecurityConfigurerAdapter as well as SecurityFilterChain. Please select just one.

NidhishGandhi
Автор

Hi, i'm having problems with Oauth2 and github, could you help me?

ramsesgirala
Автор

Hi, Could you help me for replacing websecurityconfigureadapater deprecated in spring boot 2.7 versions

vaishnavis
Автор

hi, does it still work today? because i am working with spring 2.7.x

cesarramirez
Автор

plz make seperate playlist for spring security 6

gaurrahul
Автор

Still cannot find working example using DAOAuthenticationProvider

bluex
Автор

Does not work.
@Bean
public WebSecurityCustomizer webSecurityCustomizer() {

return (web) -> web.ignore().antMatchers("/images/**", "/js/**", "/webjars/**");
}

this doesnt do anything, as .ignore() method does not exist.

MyBinaryLife
Автор

Are you vietnamese right? I reconized from your ascent.

FPT-LT