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

Thanks for any help.

Join to automatically receive all group messages.