Flash (Alert)
Abstract
An authenticated user requesting an unprotected resource does not trigger an implicit logout, by default, in WebSphere Portal version 8.
Content
In previous versions of WebSphere Portal, if the Configuration Service property uri.home.substitution were set to false (the default value), the server would log off any authenticated user who requested an unprotected resource. Consider the scenario:
- You navigate the site under the personalized home (protected context, commonly; wps/myportal, by default) as an authenticated user. Each of these requests arrive at the server with an LTPA token (LTPAToken2) as the single sign-on (SSO) cookie.
- You request some resource under the default home (unprotected context, commonly; wps/portal, by default).
- WebSphere Portal logs you out. WebSphere Portal considers this an implicit logout, so any filters on the implicit logout filter chain fire. The request from (2) is served a response with a header like the following, to remove the LTPAToken2 cookie from the browser's cookie store:
Set-Cookie: LtpaToken2=""; Expires=Thu, 01-Dec-94 16:00:00 GMT; Path=/
WebSphere Portal v8 does not log you off at (3), by default. Instead, it just serves you the resource under the default home. Since LTPAToken2 has not been expired, WebSphere Portal still considers you logged in the next time you request a resource under the personalized home.
A new Configuration Service property, logout.user.onpublic, controls this behavior. To restore the functionality of previous versions and implicitly log off users in the scenario above, set the Configuration Service (Resource Environment Provider - WP ConfigService) property:
logout.user.onpublic = true
(Type: java.lang.String)
Verify that:
uri.home.substitution = false
or that uri.home.substitution is not set (false is the default). Refer to the link below for instructions on setting and verifying service configuration properties.
Note: If uri.home.substitution were set to true, then any authenticated requests for resources under the default home would be redirected to the personalized home. This remains the same as in previous versions.
Related information
Setting Service Configuration Properties
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.