المدة الزمنية 38:23

Complete Basic Authentication with Database | Securing Rest APIS | Backend Course Hindi

39 711 مشاهدة
0
640
تم نشره في 2022/05/07

In this video we are going learn how we can implement Basic Authentication for securing REST APIS in spring boot step by step. Complete Basic Authentication with Database | Securing Rest APIS | Backend Course Hindi Full Series Link: /playlist/PL0zysOflRCen-GihOcm1hZfYAlwr63K_M #backend_course #spring_boot Telegram Link for Doubt: https://t.me/learncodewithdurgesh Important Videos: ➡️React JS with Project : /watch/cFZFWDtWnjTWF ➡️Learn JDBC in one video:/watch/s4t12Q7lbZll1 ➡️Learn Python in One Video: /watch/EbFHdJAHYG7HH ➡️Learn HTML in one video:/watch/ANShVe227Jp2h ➡️Learn HTML form in one video: /watch/ANShVe227Jp2h ➡️Learn JavaScript in one videos: /watch/0M3cmel0ARb0c ➡️Learn Form Validation using javascript and jquery:/watch/8EnPardZOqgZP ➡️Learn CSS in one video: /watch/ANShVe227Jp2h ➡️Jquery in one video:/watch/ANShVe227Jp2h Kotlin is one video:/watch/4n2hzH89eop9h ➡️Complete Python Project - Youtube downloader in one video: /watch/ANShVe227Jp2h Important Playlist: ➡️Spring Boot Tutorial with Project : /playlist/PL0zysOflRCelmjxj-g4jLr3WKraSU_e8q ➡️Spring MVC Tutorial: /playlist/PL0zysOflRCelAb51IrexpUSeB0dpr9p6g ➡️Complete Spring Framework Tutorial: /playlist/PL0zysOflRCekeiERASkpi-crREVensZGS ➡️Hibernate Tutorials: /playlist/PL0zysOflRCekX8OO7V7pGQ9kxZ28JyJlk ➡️E-Commerce Project using Java: /playlist/PL0zysOflRCekMr91amXBNwWku4PmeFaFD ➡️AWS Free Java Hosting Playlist: /playlist/PL0zysOflRCek6D-kLRM48rhyvTEbc60nc ➡️Hibernate Tutorial Playlist: /playlist/PL0zysOflRCekX8OO7V7pGQ9kxZ28JyJlk ➡️Learn Technology in One Vides: /playlist/PL0zysOflRCenCfUTpsGw9crgOih-VbNoT ➡️Programming Tips for Programmers: /playlist/PL0zysOflRCek9j3teu1y3mYTGBVgOwJ_f ➡️Complete Python for Beginners: /playlist/PL0zysOflRCel7fKZ_bBjlxA0XsHlbsv7P ➡️Important Python Projects: /playlist/PL0zysOflRCena7wgzzM-Jg8184phWz-nr ➡️Complete Servlet & JSP : /playlist/PL0zysOflRCel5BSXoslpfDawe8FyyOSZb ➡️Complete JDBC ( Java Database Connectivity) : /playlist/PL0zysOflRCenjuvOwumYLG9TCsEQZrV2M ➡️Complete Java Project : TechBlog: /playlist/PL0zysOflRCekb_ggXQYQSu-g-kWKgudBf ➡️Java Swing Projects: /playlist/PL0zysOflRCemLgOlgbhivNZIIypAkL1T8 ➡️Java Core Concepts:/playlist/PL0zysOflRCekj9UfQWDBPMxQCkHiCIFar ➡️Kya aap Jante hai Series: /playlist/PL0zysOflRCemMnjIOHivEpZGDXFYyINnO Important Links: 👉Official Website (Source Code): https://learncodewithdurgesh.com/ 👉Telegram Discussion Group: https://t.me/learncodewithdurgesh 👉Follow me on Instagram: https://www.instagram.com/durgesh_k_t/ 👉Follow on Facebook https://www.facebook.com/learncodewithdurgesh/ Disclaimer: All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.

الفئة

عرض المزيد

تعليقات - 68
  • @
    @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