The subject matter disclosed herein pertains to the modulation of a bacterial invasion switch and the subsequent use of the bacterium to vaccinate an organism. In one embodiment, the bacterial invasion switch is modulated by changing the proteolysis of ExoR protein. In another embodiment, a mutated bacterium produces a mutant ExoR protein that resists proteolysis.