I use spring security and spring mvc on my microservice
I have a controller on which some endPoint will be securized by a "Basic" authentication, some with