Last active
May 30, 2018 14:29
-
-
Save aSemy/885d3b0d5a1f27b1eac47d270244aa62 to your computer and use it in GitHub Desktop.
EnableGlobalMethodSecurity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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