Multiple Authentication Providers in Spring Security

前端 未结 1 1824
不思量自难忘°
不思量自难忘° 2020-12-02 09:45

I have configured two authentication providers in my Spring Security config:

   
      

        
相关标签:
1条回答
  • 2020-12-02 10:15

    You can specify as many providers as you want. They will be checked in the same order you declared them inside the authentication-manager tag.

    Once a successful authentication is made, it will stop polling the providers. If any provider throws an AccountStatusException it will also break the polling.

    0 讨论(0)
提交回复
热议问题