@sindhub283قبل 4 أشهرnot able to import websecurityConfigureradapter.pls help
@
@mrrishiraj88منذ 2 سنوات Good day greetings Thanks for sharing knowledge and imparting skills 1
@
@bkmojumderمنذ 2 سنواتThank you so much for such a tutorial series
@
@samartajshaikh2601منذ 2 سنواتthat's a lot of work in a single video. 1
@
@Vithal_Nivargiمنذ 2 سنواتThank you ❤️ please try to complete JWT as well ❤️ 1
@
@fro9044العام الماضيSir, in big project can we use manyToMany mapping directly or should we manually create an another table and then stablish manyToOne relationship?
@
@saeedmurrad5715منذ 2 سنواتIts great learning with you Sir. Would you please provide us the github's repository link as well? It will be much appreciated. Thank 2
@
@kingkhan-jp9zvمنذ 2 سنواتWebSecurityConfigurerAdapter got deprecated in spring boot version 2.7.0 9
@
@sheelamramesh5146منذ 2 سنواتVery good explanation.can you please provide git link for project repo Thanks ❤️ 2
@
@devendramishra5872العام الماضيmaza aya video me sir ji .❤❤❤❤❤❤❤❤❤❤❤❤❤❤
@
@manojchandu414منذ 2 سنواتhello sir iam getting websecurityconfiguration deprecation error , how to resolve this in version 2.6.12 and above versions 3
@
@sayanbhattacharjee1189العام الماضيwhat if I want to authentication using user id instead of username ? what will be the process then ? I cannot use the method loadUserByUsername is this case
@
@prathameshborse258منذ 2 سنواتWhat we can do to update the password field if it is a h2 database because when we update the password in the database to the users table then the new id="hidden2" class="buttons"> random password will be generated so how can we avoid this because when we update the first password in the users table then the new password will be generated then we can't be able to login. SO How to avoid this Sir. Please Reply. ....وسعت
@
@abhinavharsh5037منذ 2 سنواتwhen i create package in blog file it automatically gets created in repository what to do now??
@
@juned6076منذ 2 سنواتwe can access api's on postman via using form based authentication as well. simply in authorization we have to provide id pass in basic auth in postman 4
@
@sganesh9328قبل 4 أشهرcan't able to get websecurityconfigureadapter. Plz help me
@
@agusp1951منذ 2 سنواتI got internal server error, with message: A granted authority textual representation is required
@
@silentwolf7657منذ 2 سنواتSir our application is providing password too in result how can we remove it.
@
@ashwinkumar4388منذ 2 سنواتMake Java Data Sturcture And Algorithm Course
@
@a.m.jyotiprakashsahu5754منذ 2 سنواتWebSecurityConfigurerAdapter is deprecated now on spring security version 5.7. Please make a video on latest version. 10
@
@tanveerchougule2991منذ 2 سنواتBro please show how to push and pull this project on git also how to handle conflict in git please 5
@
@architgupta418منذ 2 سنواتhow can we do same thing using mongodb
@
@siddharthsrivastava4491قبل 10 أشهرPLEASE HELP!! I can perform get request successfully but for post request, I am getting 401 Unauthorized. Is anyone getting the same error?
@
@angadsingh6701العام الماضيWebSecurityConfigurerAdapter not able to resolve symbol error 2
@
@rahulrajendra02منذ 2 سنواتSir i don't think lambi video se kisi ko dhikat hai.
@
@pratyushranjanpanigrahi8821منذ 2 سنوات sir yahan Long.parseLong(userName); karsakte the 2
@
@divyanshutripathi5588قبل 7 أشهرFrom Spring Boot 2.7, WebSecurityConfigurerAdapter is deprecated. 2
@
@priyankpatel6644قبل 10 أشهرnot able to find websecurityconfigureradapter class 2
@
@laxmank.c1336منذ 2 سنواتI went through a lot of comments, It seems like I have this issue alone. I have this Error creatign bean with name 'entityMangaerFactory' defined in class path resource. If any one can help me.
@
@devil_m_0069قبل 7 أشهرHttp. Jitna bhi hai sara depreciate hogya khali anyrequest ko chodd ke
@
@sagarbaloch3306منذ 2 سنواتDurgesh sir, I'm getting this error when adding PasswordEncoder bean: org.springframework.beans.factory.BeanCreationException: Error creating id="hidden5" class="buttons"> bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is java.lang.RuntimeException: Could not postProcess org.springframework.security.authentication.dao.DaoAuthenticationProvider@171ce102 of type class org.springframework.security.authentication.dao.DaoAuthenticationProvider ....وسعت
@
@001abdulrahman2منذ 2 سنواتYe error aa rahi hai koi bta sakta hai kya hai ye Description: The bean 'delegatingApplicationListener', defined in class path id="hidden6" class="buttons"> resource [com/blog/blogapp_api/config/SecurityConfig.class], could not be registered. A bean with that name has already been defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class] and overriding is disabled. Action: Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true ....وسعت
@
@001abdulrahman2منذ 2 سنوات@Override protected void configure(AuthenticationManagerBuilder auth) throws Exception { // TODO Auto-generated method stub auth.userDetailsService(this.customUserDetailService).passwordEncoder(passwordEncoder()); id="hidden7" class="buttons"> } Ye override kr raha hu SecurityConfig me to error show ho raha hai ....وسعت
@
@daneshkumar1859منذ 2 سنواتorg.springframework.security.authentication.BadCredentialsException: Bad credentials @Durgesh sir got this error plz help me to solve this error
@
@RenuGiri-wo2ddقبل 10 أشهرIf you got this error "WebSecurityConfigurerAdapter not able to resolve symbol error" then you can follow this import org.springframework.context.annotation.Bean; id="hidden8" class="buttons"> import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; import org.springframework.security.web.SecurityFilterChain; @Configuration @EnableWebSecurity public class SecurityConfig { @Bean public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { http .csrf(csrf -> csrf.disable()) // or any other customization .authorizeRequests() .anyRequest() .authenticated() .and() .httpBasic(httpBasic -> httpBasic.realmName("xyz")); // or any other customization return http.build(); } } ....وسعت1
@
@AshishSingh-rx4sqمنذ 2 سنواتspring.jpa.properties.hibernate.enable_lazy_load_no_trans=true , In case anyone is having LazyInitializationException 5
@
@mayankbohra1552قبل 11 أشهرmy sts is not showuing webSecurityConfigurerAdapter class so what should i do please reply. 1
مقاطع الفيديو ذات الصلة على Complete Basic Authentication with Database | Securing Rest APIS | Backend Course Hindi:
Thanks for sharing knowledge and imparting skills 1
Thanks ❤️ 2
what to do now??
simply in authorization we have to provide id pass in basic auth in postman 4
I can perform get request successfully but for post request, I am getting 401 Unauthorized. Is anyone getting the same error?
org.springframework.beans.factory.BeanCreationException: Error creating id="hidden5" class="buttons"> bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is java.lang.RuntimeException: Could not postProcess org.springframework.security.authentication.dao.DaoAuthenticationProvider@171ce102 of type class org.springframework.security.authentication.dao.DaoAuthenticationProvider ....وسعت
Description:
The bean 'delegatingApplicationListener', defined in class path id="hidden6" class="buttons"> resource [com/blog/blogapp_api/config/SecurityConfig.class], could
not be registered. A bean with that name has already been defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class] and overriding is disabled.
Action:
Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true ....وسعت
protected void configure(AuthenticationManagerBuilder auth) throws Exception {
// TODO Auto-generated method stub
auth.userDetailsService(this.customUserDetailService).passwordEncoder(passwordEncoder()); id="hidden7" class="buttons">
}
Ye override kr raha hu SecurityConfig me to error show ho raha hai ....وسعت
import org.springframework.context.annotation.Bean; id="hidden8" class="buttons">
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.web.SecurityFilterChain;
@Configuration
@EnableWebSecurity
public class SecurityConfig {
@Bean
public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
http
.csrf(csrf -> csrf.disable()) // or any other customization
.authorizeRequests()
.anyRequest()
.authenticated()
.and()
.httpBasic(httpBasic -> httpBasic.realmName("xyz")); // or any other customization
return http.build();
}
} ....وسعت 1