The California Democratic Party , the California Republican Party , the Libertarian Party of California , and the Peace and Freedom Party have historically prohibited nonmembers from voting in their party 's primary .