*/
protected int invokeDelegate(Resource resource)
{
int authorizationDecision = AuthorizationContext.DENY;
ResourceType layer = resource.getLayer();
String delegateStr = (String)delegateMap.get(layer);
if(delegateStr == null)
throw new IllegalStateException("Delegate is missing for layer="+layer);
AuthorizationModuleDelegate delegate = null;
try