|
|
@ -96,9 +96,8 @@ public class GeoLocationBasedServiceImpl implements GeoLocationBasedService {
|
|
|
|
sortByFields.add(sortByField);
|
|
|
|
sortByFields.add(sortByField);
|
|
|
|
|
|
|
|
|
|
|
|
// this is the user who initiates the request
|
|
|
|
// this is the user who initiates the request
|
|
|
|
String authorizedUser = MultitenantUtils.getTenantAwareUsername(
|
|
|
|
String authorizedUser = CarbonContext.getThreadLocalCarbonContext().getUsername() + "@" +
|
|
|
|
CarbonContext.getThreadLocalCarbonContext().getUsername() + "@" +
|
|
|
|
CarbonContext.getThreadLocalCarbonContext().getTenantDomain();
|
|
|
|
CarbonContext.getThreadLocalCarbonContext().getTenantDomain());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
String tenantDomain = MultitenantUtils.getTenantDomain(authorizedUser);
|
|
|
|
String tenantDomain = MultitenantUtils.getTenantDomain(authorizedUser);
|
|
|
|