Hi,

I'm testing CAS version 5.3.2 and found out that 
the DefaultTicketRegistryCleaner is not deleting expired tickets when 
running CAS with JPA.

My investigation after checking the code is the following:

1. DefaultTicketRegistryCleaner calls TicketRegistry.deleteTicket passing 
the id of the ticket
2. AbstractTicketRegistry.deleteTicket uses getTicket(ticketId) passing the 
id of the ticket
3. JpaTicketRegistry.getTicket (JPA implementation) will return null 
because of the expiration checking (which causes the 
AbstractTicketRegistry.deleteTicket not doing it's job)
  It only gives a clue by a debug log saying "Ticket [TGT-....] has expired 
and will be removed from the database" 

Regards,
Vincent Lim

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/7255f317-737a-497e-9596-22c3191c23c8%40apereo.org.

Reply via email to