Skip to content

Instantly share code, notes, and snippets.

@murraco
Last active November 11, 2017 16:48
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save murraco/dd74df7efcbd375361e4bad5fbd6a07b to your computer and use it in GitHub Desktop.
JwtTokenFilter customFilter = new JwtTokenFilter(jwtTokenProvider);
http.addFilterBefore(customFilter, UsernamePasswordAuthenticationFilter.class);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment