In my common lib, it has a WebSecurityConfigurerAdapter class, and in its configure() method, it has a check hasAnyAuthority("ROLE_A")<
WebSecurityConfigurerAdapter
configure()
hasAnyAuthority("ROLE_A")<