on 12-16-2005 3:32 PM
Hi, my client is looking for a way to avoid a user to open two session in the Portal, so I have to remake the login page (i'm using NW04 so it possible). There's any UME flag which tell my if the user already has an open session? and Do you have any documentation regarding how to make a login page?
Thanks (points available).
During the log on
In the IPortalComponentRequest object
use the methods
if (IPortalComponentRequest requestobject.getUser().isAuthenticated())
{
//redriect to page that inform the user is already log on
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Generaly this is the procedure in order to modify the log on page:
Make a copy of com.sap.portal.runtime.logon.par.bak and rename it. In this example, it is renamed to my.new.logon.par.
Move my.new.logon.par to a location outside of the <SAPJ2EEngine-deployment-dir>.
Extract the files from my.new.logon.par preserving the directory structure.
Modify files in the extracted PAR file.
Put the modified files back into my.new.logon.par.
Copy my.new.logon.par back to <SAPJ2Eengine-deployment-dir>\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\deployment\pcd.
Rename the file <SAPJ2Eengine-deployment-dir>\cluster\server\ume\authschemes.xml.bak to authschemes.xml.
In authschemes.xml, replace all occurrences of the string "com.sap.portal.runtime.logon" with "my.new.logon" in the tags <frontendtarget> and save the file.
Restart the portal.
Take a look at this link as well:
http://help.sap.com/saphelp_erp2004/helpdata/en/23/c0e240beb0702ae10000000a155106/frameset.htm
Good luck )
Regards
Rasmus
Hi Ashok, unfourtunaly we decide not develop this part in the project, because it is very difficult to make this functionality work, basically because HTTP is a stateless protocol, so you really can loose control. But what I saw is that it is necesary to change the logon package to ask for the user session, and see if he is already logged. You will have to look also for the DSM Terminator which is related with the end of sessions, and when the user close the browser, you don't want any session to get stocked.
Regards.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.