November 2017
Intermediate to advanced
542 pages
14h 24m
English
Completing this exercise will allow us to provide a simple and secure method to keep users logged in for extended periods of time. To start, perform the following steps:
Take a look at the following code snippet:
//src/main/java/com/packtpub/springsecurity/configuration/ SecurityConfig.java @Override protected void configure(HttpSecurity http) throws Exception { ... http.rememberMe().key("jbcpCalendar") ... }
Read now
Unlock full access