November 2017
Intermediate to advanced
542 pages
14h 24m
English
We need to remove the code we added in DefaultCalendarService that used UserDetailsManager to synchronize the Spring Security o.s.s.core.userdetails.User interface and CalendarUser. First, the code is not necessary, since Spring Security now refers to CalendarUserDetailsService. Second, since we removed the inMemoryAuthentication() method, there is no UserDetailsManager object defined in our Spring configuration. Go ahead and remove all references to UserDetailsManager found in DefaultCalendarService. The updates will look similar to the following sample snippets:
//src/main/java/com/packtpub/springsecurity/service/DefaultCalendarService.javapublic class DefaultCalendarService implements CalendarService ...
Read now
Unlock full access