Single Sign Out & Ticket Expiration Bug

Description

  • Set TGT Timeout to 30 second

  • Set ticketCleaner interval to 3 minute

  • Login Webapp A

  • Wait till the ticket get timeout but the cleaner have not delete it

  • GO to Webapp B, ofcourse you can't login cause the ticket is expire, but CAS server delete the ticket right away without send logout request to Webapp A

  • The result is Webapp A still logged in and will never be logged out

Cause: CentralAuthenticationServiceImpl.java, line 195:
this.ticketRegistry.deleteTicket(ticketGrantingTicketId);

Change to this to fix the problem:
this.destroyTicketGrantingTicket(ticketGrantingTicketId);

Environment

None

Activity

Show:

Misagh MoayyedMay 18, 2014 at 1:35 PM

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created January 12, 2014 at 4:01 PM
Updated May 18, 2014 at 1:35 PM
Resolved May 18, 2014 at 1:35 PM