RIVERSIDE, Calif. — The federal judge who halted the military’s ban on openly gay troops is known for working at court well past closing time, typing her own court orders and doting on two terriers who themselves are no strangers to the halls of justice.

U.S. District Judge Virginia Phillips won praise from gays and was derided by critics as an activist judge when she issued an injunction Tuesday ending the 17-year-old “don’t ask, don’t tell” policy, saying it violates due process rights, freedom of speech and the right to petition the government for redress of grievances guaranteed by the First Amendment.