check connectionValidationKey before setting the connection information