Symmetric boundary conditions in boundary critical phenomena