Proxy as another user in LSF9 Portal and/or EMSS

 4 Replies
 1 Subscribed to this topic
 17 Subscribed to this forum
Sort:
Author
Messages
Woozy
Veteran Member
Posts: 709
Veteran Member

    We are doing some development on our LSF v9 Portal and EMSS pages, and it would be handy to be able to proxy as another user - from a UI (rather than security) standpoint.  It seems to me that there is a way to do this by adding a url parameter, but I can't remember for sure.

    This may be related Portal or EMSS or both.

    Can anyone point me in the right direction?

    Thanks!  Kelly

    Kelly Meade
    J. R. Simplot Company
    Boise, ID
    John Henley
    Posts: 3353
      Do you mean you want to execute AGS/Transaction or DME/Data calls by impersonating another user?
      Thanks for using the LawsonGuru.com forums!
      John
      Woozy
      Veteran Member
      Posts: 709
      Veteran Member
        Hi John,

        Yes and no. I want to mimic another user's UI experience in Portal/EMSS - so have the screen react the way it would for that employee. For EMSS, I assume this would basically mean overriding the authUser.Employee variable (without using a web debugger) which would generally cause AGS/DME to pull that employee's data.

        Thanks
        Kelly Meade
        J. R. Simplot Company
        Boise, ID
        John Henley
        Posts: 3353
          There are two parts to this equation...the security (roles) vs. the identity. What you are suggesting wouldn't work for either one, since the AGS/DME servlets don't pay any attention to the authUser.Employee variable; they operate at a deeper layer than that. To do what you are trying to do, and assuming this is just for limited/periodic testing, here's what I do. Create a test user, assign the same roles and groups as the user you want to mimic, and assign the XXXX_EMPLOYEE identity you want to mimic; when you are done, just delete the identity. Assuming you have access to Lawson Security, this will be much easier...
          Thanks for using the LawsonGuru.com forums!
          John
          Woozy
          Veteran Member
          Posts: 709
          Veteran Member
            I guess I was thinking of overriding the Identity without changing the authenticated user. I'm not concerned about security access, since I have modified Admin access (i.e. everything but security) so I already have access to all the data, and full testing would be done by the business using test users. I really just wanted a way for the UI side to associate me with a different identity so I could quickly and easily test different screens as different employee types without having to have multiple test users. I was sure I'd seen this before, but maybe I'm thinking of another system. Thanks anyway!
            Kelly Meade
            J. R. Simplot Company
            Boise, ID