Authorities say a former U.S. Army infantryman was plotting a terrorist attack at a rally in Long Beach, California.