}
private boolean isQueueUpdateMethodAuthorized(String methodName, String virtualHost)
{
SecurityManager securityManager = getSecurityManager(virtualHost);
return securityManager.authoriseMethod(Operation.UPDATE, "VirtualHost.Queue", methodName);
}
private SecurityManager getSecurityManager(String virtualHost)
{
IApplicationRegistry appRegistry = ApplicationRegistry.getInstance();