November 2017
Intermediate to advanced
542 pages
14h 24m
English
Throughout the rest of this section, we are going to create a custom AuthenticationProvider object named CalendarUserAuthenticationProvider that will replace CalendarUserDetailsService. Then, we will use CalendarUserAuthenticationProvider to consider an additional parameter to support authenticating users from multiple domains.
Create a new class named CalendarUserAuthenticationProvider, as follows:
//src/main/java/com/packtpub/springsecurity/authentication/ CalendarUserAuthenticationProvider.java // … imports omitted ... @Component public class CalendarUserAuthenticationProvider ...
Read now
Unlock full access