Spring Security Custom Authentication Provider

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024

ความคิดเห็น • 17

  • @hkkabir2024
    @hkkabir2024 ปีที่แล้ว +2

    do you have the latest configuration without using webconfigueradaptor ? it's depreciated and i am stuck here for implanting the config of authentication provider

  • @MaximZemlyanoy
    @MaximZemlyanoy 11 หลายเดือนก่อน

    WebSecurityConfigurerAdapter is deprecated

    • @javadevjournal
      @javadevjournal  11 หลายเดือนก่อน

      yes but the workflow and other are still same

  • @SKtheGEEK
    @SKtheGEEK 3 ปีที่แล้ว

    Hi, I have added the ant matches for checking if a user role is allowed for the method.
    But what if I want to do a checking on the parameters as well. Let's say the south region manager is not allowed to insert any record with a place id that is from the northern region. So how do I stop this method at the authentication service?

    • @javadevjournal
      @javadevjournal  3 ปีที่แล้ว

      I believe you are referring to the method level security annotation, if that is the case, You can create custom PermissionEvaluator to handle it

  • @preetigupta7753
    @preetigupta7753 2 ปีที่แล้ว

    What if we need to support both kind of providers, custom and dao?

    • @javadevjournal
      @javadevjournal  2 ปีที่แล้ว

      You can always setup multiple auth provider with Spring security

  • @SagirAnsari-bn7oj
    @SagirAnsari-bn7oj 2 ปีที่แล้ว

    Hi Can you make video on The Spring Authorization Server

  • @ramabookstroremalang9131
    @ramabookstroremalang9131 3 ปีที่แล้ว

    Hello there.
    I've just tried your website a couple minutes ago, but it can't be accessed.

    • @javadevjournal
      @javadevjournal  3 ปีที่แล้ว

      Thanks Rama for informing the issue. This is fixed and you should be able to access the URLs

    • @ramabookstroremalang9131
      @ramabookstroremalang9131 3 ปีที่แล้ว

      @@javadevjournal Okay, thank you. I've got many lessons from your website :)

    • @javadevjournal
      @javadevjournal  3 ปีที่แล้ว

      @@ramabookstroremalang9131 happy that it is helpful to you.

  • @bluex217
    @bluex217 2 ปีที่แล้ว

    Hey my friend have you tried to create custom Provider with the new SecurityFilterChain since WebSecurityConfigurerAdapter is deprecated?
    I've tried so many approaches for 2 days now and I can't even get DAOAuthenticartionProvider to work with SecurityFilterChain using HttpBasic auth. Even when my UserDetailsService is invoked on authentication, it seems it is not setup as the principal

  • @user-hi4mq4tr3s
    @user-hi4mq4tr3s 2 ปีที่แล้ว

    webSecurityConfigurerAdapter now deprecated

    • @javadevjournal
      @javadevjournal  2 ปีที่แล้ว

      Thanks and Agree, I have updated the related post..need to see if I can update the video.

    • @PetraUdovicic
      @PetraUdovicic ปีที่แล้ว

      @@javadevjournal
      Hello, I'm trying to find a link related to the update you're talking about and I can't find it. Help pls. :)

    • @bobHAYES21
      @bobHAYES21 ปีที่แล้ว

      ​@@PetraUdovicic that is used instead @WebSecurutyAdapter