if (AuthorizationProvider.isObjectAuthorized(form))
cmd = new ShowFormCommand(form);
}
else
if (actions[i] instanceof IRBProvider) {
IRB rb = ((IRBProvider)actions[i]).getRB(null);
if (AuthorizationProvider.isObjectAuthorized(rb.getDataSource()))
cmd = new RBCommand(rb);
}
else
if (actions[i] instanceof IReportProvider) {
IReportBuilder report = ((IReportProvider)actions[i]).getReport();