Retrieving User Identity Zone - Spring Security OAuth
Bryan Perino
Hello All,
I am still new to UAA and Spring Security. I am trying to retrieve which Identity Zone a user belongs to when the try to access a resource. I am using Spring Security OAuth2. I have tried using a OAuth2Authentication object in my controller method, but that doesn't seem to show any Identity Zone information. Is there anyway to set up Spring Security OAuth2 to send the Tenancy Information to resources? Here is a quick snippet demonstrating https://gist.github.com/bryantp/9af813aa3f0d82f41ac305dcde815168 Thanks for any help. |
|