I am not a teacher.
'Those' works, but 'in' doesn't.
It is OK, for example, to be confident in a person's ability to do something, but I wouldn't be confident in a person
For me, it should be either, 'those of whom they are confident' or 'those in whom they have confidence'.
Student or Learner