The two protections are (1) against being dismissed or removed by an authority subordinate to that by which the appointment had been made,and (2) against being dismissed,removed or reduced in rank without being heard