Skip to content

Instantly share code, notes, and snippets.

@cherniag
Created April 5, 2017 16:31
Show Gist options
  • Save cherniag/1a2e7d819bd4f7fb9c346df9c296353f to your computer and use it in GitHub Desktop.
Save cherniag/1a2e7d819bd4f7fb9c346df9c296353f to your computer and use it in GitHub Desktop.
spring security misc
Exclude enpoint from security:
- WebSecurityConfigurerAdapter override:
@Override
public void configure(WebSecurity web) throws Exception {
web.ignoring().antMatchers("/path/**");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment