Multiple logins using the same user ID

Technote (FAQ)


Question

Does WebSphere Portal support multiple logins using the same user id?

Answer

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.

Related information

Portal 6.1/7.0: Authentication Filters
Portal 6.1: Custom Login Portlet
Restricting Multiple Sessions

Cross reference information
Segment Product Component Platform Version Edition
Organizational Productivity- Portals & Collaboration WebSphere Portal End of Support Products General AIX, HP-UX, i5/OS, Linux, Solaris, Windows 6.0, 5.1

Rate this page:

(0 users)Average rating

Document information


More support for:

WebSphere Portal
General

Software version:

6.1, 7.0, 8.0

Operating system(s):

AIX, HP-UX, Linux, Solaris, Windows, i5/OS

Software edition:

Enable, Extend, Server

Reference #:

1227799

Modified date:

2006-01-12

Translate my page

Machine Translation

Content navigation