LSPS Logout

Topics related to the LSPS Engine and the management of running processes.
Forum rules
Make sure every topic contains information about your LSPS version and if relevant also your server OS, client OS, database name and version, and application server name and version.
User avatar
randy.adkins
 
Posts: 38
Joined: Tue Mar 06, 2012 4:17 pm

LSPS Logout

Fri Jul 20, 2012 5:11 pm

The testers have identified the following.

The "Log Out Admin" button on the LSPS console doesn't work if you have an LTS window open.
To reproduce this I stated with a new browser
- Login to LTS as systemadmin
- click accept
- Click "LSPS Console"
- Login to LSPS as admin
- Click the "Log out admin" button. I expected to be logged out but nothing happened.

Is there some type of caching of the user credentials? is there a ttl for the session? What is a fix for this issue?

Maros Bajtos
 
Posts: 145
Joined: Mon Feb 27, 2012 2:52 pm

Re: LSPS Logout

Fri Jul 20, 2012 5:32 pm

This is related to single sign on mechanism of weblogic. For more information see:

http://docs.oracle.com/cd/E13222_01/wls ... l#wp139365
http://docs.oracle.com/cd/E13222_01/wls ... l#wp150374

The solution to the problem is using different cookie for different web applications. See "Exempting a Web Application for Single Sign-on" section in the second link.

Rastislav Cesnek
 
Posts: 4
Joined: Tue Jun 05, 2012 10:15 am

Re: LSPS Logout

Sun Jul 29, 2012 7:45 pm

If I understand correctly what you mean, this was already identified in LSPS on WebLogic.

WebLogic does not create separate session cookies for Web applications deployed in a single EAR, instead if you log int to multiple applications from one browser, the same session cookie will be used. The result is that you essentially cannot logout as WebLogic performs some sort of reference counting and never closes the session when you press logout.

To separate the applications, create/edit weblogic.xml in each Web module WEB-INF and use the following (adjusted to your environment):
Code: Select all
<weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-web-app http://www.oracle.com/technology/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">
   ...
   <session-descriptor>
      <cookie-path>/[path]</cookie-path>
   </session-descriptor>
   ...
</weblogic-web-app>

Where you substitue the [path] for the the context root of each particular application.

Return to Management

Who is online

Users browsing this forum: No registered users and 1 guest