Allow different loggedOutUrl's based on user type

Description

This patch allows the configuration of different loggedOutUrls based on the user type of the person that is logging out.

For instance I have a user with the usertype of 'sakai' and I want them to go to http://www.sakaiproject.org when they click logout:

In sakai.properties:

  1. the URL to send folks to after they logout
    loggedOutUrl=/portal
    loggedOutUrl.sakai=http://www.sakaiproject.org

Will fall back to the default in case the specific url is not provided.

We need this for providing different login pages for different user types, we want them to then logout back to that same page.

Attachments

1

Activity

Show:

Steve Swinsburg June 23, 2011 at 4:13 PM

We don't have a specific need for it in 2.8 at this stage, but could be a nice feature to add. Do you want to raise it with the TCC?

Sam Ottenhoff June 23, 2011 at 9:23 AM

Steve, do you want to see this in 2.8.x? It's pretty low-impact and a nice feature for many... if yes, should go to TCC for review?

Hudson CI Server October 26, 2010 at 10:09 PM

Integrated in sakai trunk #335 (See http://builds.sakaiproject.org:8080/job/sakai%20trunk/335/)
allow different logged out URLs based on user type

Steve Swinsburg October 26, 2010 at 6:18 PM

Properties:

The default:
loggedOutUrl=/portal

And then optional ones:
loggedOutUrl.guest=http://www.sakaiproject.org
loggedOutUrl.registered=https://www.someplace.com
...

Steve Swinsburg October 26, 2010 at 6:17 PM

r83786

Fixed

Details

Priority

Fix versions

Components

Assignee

Reporter

Property addition/change required

Yes

Created May 20, 2009 at 7:43 AM
Updated March 23, 2022 at 3:03 PM
Resolved October 26, 2010 at 6:17 PM