/** * Security configuration, calling protected methods */ @Override protected void configure(HttpSecurity http) throws Exception { super.configure(http); login(http); // authentication exceptionHandling(http); // exception handling oauth2Client(http); }