ShiroCasRealm: simplify preValidate method