Is it possible to get id, pasaword user entered on login.action page


We are planning to write custom addon that validating password from other system.
So, We need to get id, password information when a user entered id, password on login.action page.

Is there a way to do that?? I can not find any method providing those information.