Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- protected void configure(HttpSecurity http) throws Exception {
- http.cors()
- .and().authorizeRequests()
- .anyRequest().permitAll()
- .and().csrf().disable()
- .and()
- .addFilter(new JwtAuthenticationFilter(authenticationManager()))
- .addFilter(new JwtAuthorizationFilter(authenticationManager()))
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement