Skip to Content
author's profile photo Former Member
Former Member

Change parameter value of user request at server side

Hi guys,

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,

Regards,

Guo Feng

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 25, 2007 at 06:39 PM

    Hi,

    Please try putValue method(attribute scope), and read value from request by getValue.

    Regards

    Jakub Krecicki

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.