I am trying to implement switch user implementation in our restcontroller. The rest controller is secured with Oauth2.
I have added a controller in that controller I am g