Change parameter value of user request at server side
We have a specific requirement that is like this:
1. Our logon screen should have userid input, password input & a checkbox.
If checkbox is not checked, normal logon process will be executed.
If this checkbox is checked and user login as "userid", the logon process is changed like this:
This user will log in as "useridVIP", (VIP appended for userid) which is actually another user account.
if the login as "UseridVIP" is not succesfull or "useridVIP" does not exist, he will be logged in as "userid"; only if log in as "userid" is not succeeful, system will show error message.
To achieve this, we need to change logon logic, the logon logic is done by program: SAPMLogonLogic.java, the user request is stored in an instance of IPortalComponentRequest, which has getParameter(), but does not have setParameter(),
we want to change the parameter value of usrid, how can we do that ? or is there any way to achiveve this?
Thanks a lot,