MAXIMAL ACCELERATION EFFECTS FOR PHOTONS IN CAVITY RESONATORS