Spring Boot Security - UserDetailsService & UserDetails

Поділитися
Вставка
  • Опубліковано 10 жов 2024
  • Spring Boot Security - UserDetailsService & UserDetails
    Linkedin: / teddy-smith-015ba61a3
    Website: www.teddysmith.io
    Github: github.com/ted...
  • Навчання та стиль

КОМЕНТАРІ •

  • @fercho1463
    @fercho1463 29 днів тому +1

    "Very good, my friend! More Teddy, much more Spring Boot and Angular content. A large project with both technologies would be great for you to do! I appreciate everything you do for the community that follows you. Greetings from Argentina!"

  • @congdatt
    @congdatt Рік тому +4

    I really appreciate what you did. I'm learning spring and the videos on youtube are hard to understand for me, but your videos are very easy to understand. really thank you

  • @sunset2262
    @sunset2262 Рік тому +1

    I'm only on the third video of the series so far but thank you! I went through so many 3hr tutorials and always ended up stuck and frustrated. I was just about to throw in the towel on spring entirely. Please do more!

    • @travahnetshisaulu3101
      @travahnetshisaulu3101 11 місяців тому

      same here, java is not that easy you just need practice most of times, and with videos like this it becomes much better and simply because their separated into small pieces.

  • @lukagolubovic3641
    @lukagolubovic3641 Рік тому +1

    Hey Teddy, thanks a lot for these videos, they are really helpful and I appreciate you and your channel, amazing content!
    I hope more of these are coming soon

  • @MarcinTlon
    @MarcinTlon Рік тому +1

    Good job Teddy, thanks from Poland. Carry on these tutorials!

  • @joaogabrielv.m328
    @joaogabrielv.m328 Рік тому

    The new thumb is dope AF, Teddy. Keep up, man

  • @Devivl
    @Devivl 7 місяців тому

    Thank you so much for the lesson, Teddy.

  • @thegenius5419
    @thegenius5419 Рік тому +1

    thx my bro

  • @HoudaifaRbahi
    @HoudaifaRbahi 5 місяців тому

    Thank you for your explanation I have some questions where I can Ask you

  • @moviefanie
    @moviefanie 9 місяців тому +1

    ant was used before maven

  • @AmitGupta-hb6tg
    @AmitGupta-hb6tg Рік тому +1

    Please increase your font size.. its not that clear if I split my screen.

  • @geosystems2106
    @geosystems2106 Рік тому +1

    I am very surprise that after 9 months, almost all of HttpSecurity methods became obsolete. Spring is out there for such a long time, yet still a moving target :/ Is that a good thing ?!

    • @TeddySmithDev
      @TeddySmithDev  Рік тому

      Good question. I will say I always get the vibe something is wrong with spring security.

  • @RollingEuphoria
    @RollingEuphoria Рік тому +2

    Thanks for the amazing Tutorial. Was looking for a solution to not use deprecated "WebSecurityConfigurerAdapter"
    As explained in video it is working but logout is not working. Even after the application is stopped and restarted again, login page should come but it isn't. Any idea on this ?

    • @TeddySmithDev
      @TeddySmithDev  Рік тому +1

      It is difficult to say but sounds like security filter chain could be misconfigured.

    • @prakashaathi556
      @prakashaathi556 Рік тому

      same thing is happened to me ? did u figured out what's wrong with these?

  • @mystic2212
    @mystic2212 Рік тому +1

    Very nice and clear explanation. One question is line 44 in the SecurityConfig Class, instead of inMemoryUserDetails I want to save them in my db (postgres) do I return the UserDetails?

    • @TeddySmithDev
      @TeddySmithDev  Рік тому +1

      saving users is done by building custom UserDetailsService which is covered in next videos

  • @mohammedislam733
    @mohammedislam733 11 місяців тому

    What if we want to get the users and roles from database?

  • @Simple_Code99
    @Simple_Code99 Рік тому +1

    Thank you very much

  • @kaspersergej
    @kaspersergej 7 місяців тому

    Unfortunately, most of this code is deprecated and doesn't work anymore - at list not for me. I've tried to update it by following the deprecation notes, but no luck.

    • @TeddySmithDev
      @TeddySmithDev  7 місяців тому +1

      Yeah unfortunately it changed. Can’t believe how quick too.

  • @filipkostic6580
    @filipkostic6580 Рік тому +1

    Hello, I have question, when I write .antMatchers it says it cannot resolve method antMatchers. Is there solution for that? Thank you

    • @TeddySmithDev
      @TeddySmithDev  Рік тому +1

      does your pom.xl have all the right dependencies? For quicker response please post questions with snippet in Discord

    • @filipkostic6580
      @filipkostic6580 Рік тому

      @@TeddySmithDev I used these dependecies: spring-boot-starter-oauth2-resource-server, spring-boot-starter-web, spring-boot-configuration-processor, spring-boot-starter-test, spring-boot-starter-security and lombok

    • @prakashaathi556
      @prakashaathi556 Рік тому +6

      @@filipkostic6580 instead of antMatchers use requestMatchers spring-security version 6 not allowing antmatchers ! i think soo

  • @sehad_official
    @sehad_official Рік тому

    i got error why antMatcher in my code is not recognized?