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

后端 未结 1 1846
遇见更好的自我
遇见更好的自我 2021-02-09 14:12

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

public class RestSecurityFilter extends AbstractAuthenticationProc         


        
1条回答
  •  温柔的废话
    2021-02-09 14:50

    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)
提交回复
热议问题