Yes, I would recommend that. I was pointing out that it was in 3.5 to indicate that it wasn't a crazy idea. ;-)
On Thu, Sep 23, 2010 at 12:18 AM, Robert Oschwald < [email protected]> wrote: > In the meantime, I would go with my interim solution, as I need this > functionality asap. > Later on, I would migrate to 3.5. > > Robert > > Am 23.09.2010 um 04:12 schrieb Scott Battaglia: > > Its unfortunately taking longer than expected (so we'll be cutting a 3.4.3 > release in the meantime). I'm going to take some time this weekend to go > through and write down (and open/update JIRA tickets) for all remaining > tasks which should give us a good idea of how much more time we need. > > > On Wed, Sep 22, 2010 at 12:33 PM, Robert Oschwald < > [email protected]> wrote: > >> Scott, >> >> do you know yet when you will release 3.5? >> >> Robert >> >> Am 22.09.2010 um 18:27 schrieb Scott Battaglia: >> >> The CAS 3.5 API's will actually have a purge method :-) >> >> >> On Wed, Sep 22, 2010 at 12:09 PM, Robert Oschwald < >> [email protected]> wrote: >> >>> Hi Folks, >>> >>> as I use remember-me, I need to be able to force a relogin of all users >>> (e.g. if Terms Of Service change). >>> >>> For this, I added a deleteAllTgts() method to the >>> CentralAuthenticationServiceImpl class (using maven overlay) to be able to >>> force a relogin of all users (triggered via a REST call in my own >>> controller). >>> Does anybody have a concern about this approach? >>> >>> @Transactional(readOnly = false) >>> public void deleteAllTgts() { >>> this.log.info("Removing all TGTs from registry.."); >>> Collection<Ticket> tickets = this.ticketRegistry.getTickets(); >>> List<String> ids = new ArrayList<String>(); >>> for (final Ticket ticket : tickets) { >>> if (ticket instanceof TicketGrantingTicket){ >>> ids.add(ticket.getId()); >>> } >>> } >>> ticketsInCache = null; >>> for (String id : ids) { >>> if (this.log.isDebugEnabled()) { >>> this.log.debug("Deleting ticket >" + id + "<"); >>> } >>> this.ticketRegistry.deleteTicket(id); >>> } >>> } >>> >>> Maybe such a function would be useful to CAS. >>> >>> >>> Robert >>> >>> -- >>> You are currently subscribed to [email protected] as: >>> [email protected] >>> >>> >>> >>> >>> >>> To unsubscribe, change settings or access archives, see >>> http://www.ja-sig.org/wiki/display/JSG/cas-user >>> >>> >> -- >> You are currently subscribed to [email protected] as: >> [email protected] >> >> >> >> To unsubscribe, change settings or access archives, see >> http://www.ja-sig.org/wiki/display/JSG/cas-user >> >> >> -- >> You are currently subscribed to [email protected] as: >> [email protected] >> >> >> >> To unsubscribe, change settings or access archives, see >> http://www.ja-sig.org/wiki/display/JSG/cas-user >> >> > -- > You are currently subscribed to [email protected] as: > [email protected] > > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > > -- > You are currently subscribed to [email protected] as: > [email protected] > > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
