Robert Rivas, the man behind a machete attack at a Starbucks in southwest Bakersfield, could spend the rest of his life in prison.