Now he mentions the signs of a good shepherd; and there are three. The first relates to the gatekeeper, and is that the good shepherd is let in by him. As to this he says, to him the gatekeeper opens. This gatekeeper, according to Chrysostom, is the one who opens the way to a knowledge of Sacred Scripture. The first one to do this was Moses, who first received and established Sacred Scripture. And Moses opened to Christ, because as was said above: "If you believed Moses, you would believe me, for he wrote of me" (5:46).
Or, according to Augustine, the gatekeeper is Christ himself, because he ...brings us himself. He says, "He opens himself who reveals himself, and we enter only by his grace." "For by grace you have been saved" (Eph 2:8). It does not matter if Christ, who is the door, is also the gatekeeper; for certain things are compatible in spiritual matters that cannot occur in physical reality. Now there seems to be a greater difference between a shepherd and a door than between a door and a gatekeeper. Therefore, since Christ can be called both a shepherd and a door, as was said, much more so can he be called a door and a gatekeeper. But if you prefer that someone other than Moses or Christ be the gatekeeper, then consider the Holy Spirit the gatekeeper, as Augustine says. For it is the office of a gatekeeper to open the door, and it says below of the Holy Spirit that "He will guide you into all the truth" (16:13). And Christ is the door insofar as he is the Truth.
The second sign relates to the sheep, and it is that they obey the shepherd. This is what he says, the sheep hear his voice. This is reasonable if the resemblance to a natural shepherd is considered: because just as sheep recognize the voice of their shepherd due to familiar experience, so righteous believers hear the voice of Christ: "O that today you would harken to his voice" (Ps 95:7).
But what of the fact that many who are Christ's sheep did not hear his voice, as Paul; or that some who were not his sheep did hear it, as Judas? One might reply that Judas was Christ's sheep for that time as to his present righteousness. And Paul, when he did not hear the voice of Christ, was not a sheep but a wolf; but when the voice of Christ came it changed the wolf into a sheep. This reply could be accepted if it were not contrary to a statement in Ezekiel (34:4): "The crippled you have not bound up, the strayed you have not brought back." It seems from this that even when they were crippled and strayed they were sheep. Therefore, one must say that here our Lord is speaking of his sheep not only according to their present righteousness but even according to their eternal predestination. For there is a certain voice of Christ that only the predestined can hear, i.e., "He who endures to the end" (Matt 10:22).
Again, he says, the sheep hear his voice, because they might offer as an excuse for their unbelief the fact that not only they, but none of the leaders believed in him. So he says in answer to this, the sheep hear his voice, as if saying: They do not believe because they are not my sheep.
The third sign is taken from the actions of the shepherd. Here he mentions four actions of a good shepherd: the first being that he knows his sheep. He says, he calls his own sheep by name, which shows his knowledge of and familiarity with his sheep, for we call by name those whom we know familiarly: "I know you by name" (Ex 33:17). This is part of the office of a shepherd according to: "Be diligent to know the countenance of your flock" (Prv 27:23). This applies to Christ according to his present knowledge, but even more so considering eternal predestination, by which he knew them by name from eternity: "He determined the number of the stars, he gives to all of them their names" (Ps 147:4); "The Lord knows those who are his" (2 Tim 2:19).
The second action of a good shepherd is that he leads them out, i.e., he separates them from the society of those who are evil: "He brought them out of darkness and gloom" (Ps 107:14).
Source: Commentary on John