void checkSecurity(SecuredCommand command, Session session, List<Object> arguments) {
Dictionary<String, Object> config = getScopeConfig(command.getScope());
if (config != null) {
if (!isVisible(command)) {
throw new CommandNotFoundException(command.getScope() + ":" + command.getName());
}
List<String> roles = new ArrayList<String>();
ACLConfigurationParser.Specificity s = ACLConfigurationParser.getRolesForInvocation(command.getName(), new Object[] { arguments.toString() }, null, config, roles);
if (s == ACLConfigurationParser.Specificity.NO_MATCH) {
return;