code: @Override
  	public void checkPermission(String resourceName, String action) throws JMSException 
  	{
  		for (int i = 0; i < privileges.size(); i++)
  		{
  			Privilege privilege = privileges.get(i);
  			if (privilege.matches(resourceName, action))
  				return;
  		}
  		throw new FFMQException("Access denied to resource '"+resourceName+"' for action '"+action+"'","ACCESS_DENIED");
  	}
docs: /*
  (non-Javadoc)
  @see net.timewalker.ffmq4.security.SecurityContext#checkPermission(java.lang.String, java.lang.String)