Hi Swapnil
As per your requirement, I came across a very nice and detailed explanation of the same scenario in a SCN document.
Kindly refer to : Change the Authentication Error Messages Text on Logon Page for SAP NetWeaver Portal 7.3
I am pretty sure following the document should fulfill your need.
Regards
Santarshi Samanta
Follow Santarshi Samanta