05.02.2019 - Default configure(HttpSecurity); Configuring a custom login page Before we make any changes, it is best to verify that the sample works properly. we are in charge of rendering a failure page when /login?error is requested..