Spring Boot. HMAC authentication. How to add custom AuthenticationProvider and Authentication filter?

后端 未结 1 1249
走了就别回头了
走了就别回头了 2021-02-09 14:31

To implement HMAC authentication I made my own filter, provider and token. RestSecurityFilter:

public class RestSecurityFilter extends AbstractAuthenticationProc         


        
1条回答
  •  闹比i
    闹比i (楼主)
    2021-02-09 14:55

    I'm not familiar with Spring Boot, but I saw your comment on my question How To Inject AuthenticationManager using Java Configuration in a Custom Filter

    In a traditional Spring Security XML configuration, you would specify your custom RestSecurityFilter like so

    
           
    
    

    More information http://docs.spring.io/spring-security/site/docs/4.0.1.RELEASE/reference/htmlsingle/#ns-custom-filters

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