WebSecurityConfigクラスのconfigureGlobalメソッド内でqueryを追加。 @Autowired public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception { auth .jdbcAuthentication() .dataSource(dataSource) .authoritiesByUsernameQuery("select user_id as username, role as authority from user_roles where user_id = ?") .usersByUsernameQuery("select user_id as username, paswd as password, true as enabled from us