November 2017
Intermediate to advanced
542 pages
14h 24m
English
We'll also need to make a one-time change to SecurityConfig.java, where we've got the rest of our Spring Security configuration. Simply add the following annotation to the class declaration:
//src/main/java/com/packtpub/springsecurity/configuration/SecurityConfig.java@Configuration@EnableWebSecurity@EnableGlobalMethodSecurity(prePostEnabled = true)public class SecurityConfig extends WebSecurityConfigurerAdapter {
Read now
Unlock full access