Read this sentence:

Jackson had to endure the shame of a scolding in front of his friends.

Which definition of shame matches its use in the sentence above?

A painful emotion caused by consciousness of guilt

The susceptibility to such emotion

A condition of humiliating disgrace or disrepute

Something that brings censure or reproach