Porting to component architecture of "CAS Client" plugin