Does WebSphere Portal support multiple logins using the same user id?
WebSphere Portal has no built-in mechanism or configuration setting to limit the number of times a user id may log in. Unexpected behavior may occur if the same id is logged in more than once and this is not supported.
"ConcurrentModificationException" and other errors may be logged.
Most of the related issues were resolved in WebSphere Portal 5.1. However, you may still encounter exceptions or side-effects if you access the Portal in multiple browser windows using the same user id, whether or not the authentication requests take place on separate physical hosts.
It may be possible to prevent multiple logins by writing custom "tracking code." Contact IBM Services for assistance to undertake such a project. WebSphere Portal Development does not have any sample code.
If you wish to write your own code, some of the issues to be aware of are (this is not an inclusive list):
-- Multiple logins may take place on different nodes in a cluster. This means some cluster-wide mechanism would have to be in place to keep track of the logged-in users. Look at the WebSphere Application Server DistributedMap interface.
-- There should be a fail-safe way to track user logout (explicit logout and session timeout). Using a session listener might be a possibility.
-- If a user closes the browser without logging out, that user must wait for a session timeout before logging in again. Otherwise, there should be a "force simultaneous login" option in the login user interface.
For load testing, use unique user ids or virtual users.
|Organizational Productivity- Portals & Collaboration||WebSphere Portal End of Support Products||General||AIX, HP-UX, i5/OS, Linux, Solaris, Windows||6.0, 5.1|