Skip to content

Instantly share code, notes, and snippets.

@aSemy
Last active May 30, 2018 14:29
Show Gist options
  • Save aSemy/885d3b0d5a1f27b1eac47d270244aa62 to your computer and use it in GitHub Desktop.
Save aSemy/885d3b0d5a1f27b1eac47d270244aa62 to your computer and use it in GitHub Desktop.
EnableGlobalMethodSecurity
@Configuration
@EnableWebSecurity
@EnableGlobalMethodSecurity(prePostEnabled = true)
public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment