You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello:
I have a problem on AjaxAuthenticationProvider and JwtAuthenticationProvider.
I see the configuration of both two in the WebSecurityConfig.
It likes that:
And I know that when I input '/login' ,it will enter AjaxLoginProcessingFilter , when I input '/api/me' ,it will enter JwtTokenAuthenticationProcessingFilter .
The question is that :
There are two Provider(AjaxAuthenticationProvider and JwtAuthenticationProvide). When I enter AjaxLoginProcessingFilter it always choose ajaxAuthenticationProvider. When I enter JwtTokenAuthenticationProcessingFilter it always choose jwtAuthenticationProvider. Why? How it always choose the right Provider???
The text was updated successfully, but these errors were encountered:
Hello:
I have a problem on AjaxAuthenticationProvider and JwtAuthenticationProvider.
I see the configuration of both two in the WebSecurityConfig.
It likes that:
And I know that when I input '/login' ,it will enter AjaxLoginProcessingFilter , when I input '/api/me' ,it will enter JwtTokenAuthenticationProcessingFilter .
The question is that :
There are two Provider(AjaxAuthenticationProvider and JwtAuthenticationProvide). When I enter AjaxLoginProcessingFilter it always choose ajaxAuthenticationProvider. When I enter JwtTokenAuthenticationProcessingFilter it always choose jwtAuthenticationProvider. Why? How it always choose the right Provider???
The text was updated successfully, but these errors were encountered: