[MGNLCAS-16] Append service url to logout url Created: 19/Aug/15  Updated: 25/Feb/16  Resolved: 24/Feb/16

Status: Closed
Project: Central Authentication Service
Component/s: None
Affects Version/s: None
Fix Version/s: 1.3

Type: Improvement Priority: Neutral
Reporter: Charles Jones Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File mgnlcas-logouturl.patch    
Issue Links:
relation
is related to MGNLCAS-18 Laundry list of CAS fixes Texas State... Closed
Template:
Patch included:
Yes
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Release notes required:
Yes
Date of First Response:
Sprint: Kromeriz 32

 Description   

The attached patch modifies CASClientCallback.createLogoutURL() to replace `

{0}` in the casLogoutURL property with the service url.

This will allow us to add the 'url' parameter to the logout url, which causes the CAS server to provide a link back to the application after logging out.

Example: `http://cas-server.mydomain.com/logout?url={0}

` will be replaced with `http://cas-server.mydomain.com/logout?url=http://magnolia.mydomain.com/magnoliaAuthor` and a link to http://magnolia.mydomain.com/magnoliaAuthor will be displayed on the CAS server's logout confirmation page.



 Comments   
Comment by Milan Divilek [ 25/Feb/16 ]

Documentation notes:
Parameter ${casServiceURL} in casLougoutURL property will be replaced with casServiceURL property

casServiceURL=http://localhost:8080/magnoliaAuthor
casLogoutURL=https://localhost:8443/cas/logout?url=${casServiceURL}

casLogoutURL then will be https://localhost:8443/cas/logout?url=http://localhost:8080/magnoliaAuthor

Generated at Sun Feb 11 23:59:00 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.