new ResourceSecurityConfig(this.secDescPath);
securityConfig.init();
this.securityDescriptor = securityConfig.getSecurityDescriptor();
this.securityDescriptor.setInitialized(false);
final GridMap map = new GridMap();
final Caller[] callers =
this.manager.getAuthorizedManagers(this.id, this.type);
if (callers != null) {
for (int i = 0; i < callers.length; i++) {
final Caller caller = callers[i];
if (caller != null && !caller.isSuperUser()) {
map.map(caller.getIdentity(), "fakeuserid");
}
}
}
this.securityDescriptor.setGridMap(map);
}