The Supreme Court on Thursday directed Indian Oil Corporation Limited (IOCL) to pay Rs 12 lakh compensation to a woman who was denied a job in it, observing that discrimination against her on the ground of being a woman was an "affront to womanhood".