November 2017
Intermediate to advanced
542 pages
14h 24m
English
Now that the database is being used to map our security configuration, we can remove the antMatchers() method from our SecurityConfig.java file. Go ahead and remove them, so that the configuration looks similar to the following code snippet:
// src/main/java/com/packtpub/springsecurity/configuration/ SecurityConfig.java @Override protected void configure(HttpSecurity http) throws Exception { // No interceptor methods // http.authorizeRequests() // .antMatchers("/").permitAll() ... http.formLogin() ... http.logout() ...
You should now be able to start the application and test to ensure that our URLs are ...
Read now
Unlock full access