We are using vSphere web client SDK 6.0 (HTML bridge) and trying to retrieve session with com.vmware.vise.usersession.UserSessionService.getUserSession().
for JAVA code you can refer vsphere-wssdk example from vsphere-client-sdk\html-bridge\samples.
After injecting UserSessionService interface in class VmDataProviderImpl, it will return proxy object of UserSessionService and _userSessionService.getUserSession() always returns null.
How will we get current logged in user session of vSphere web client with vim25.
Please advise.