[cas-dev] JBoss ticket registry tree cache replication of changes made to Ticket already in the cache
Lee Braddock
lee.braddock at ccci.org
Thu Oct 25 10:52:03 EDT 2007
Scott,
Although this is a question regarding Jboss tree cache and replication,
since you are using it within cas, you may have an answer.
It would seem that replication across nodes in a clustered cache is
triggered ONLY by way of 'cache.put()' and 'cache.remove()', which are
called by ja-sig 'JBossCacheTicketRegistry.addTicket()' and
'JBossCacheTicketRegistry.deleteTicket()', respectively. That is,
changes made to a ticket which has been retrieved from the registry will
not be recognized by the cache and will therefore not be replicated
(unless, possibly, that ticket is again 'put()' into the cache).
If that is so (which it may not be), how then, when the ticket state of
a ticket granting ticket retrieved from the registry is updated
(updateState()) after granting a service ticket
(TicketGrantingTicket.grantServiceTicket()), will that change in the
ticket granting ticket's state be replicated across the cluster since
that ticket granting ticket has already been 'put' into the tree cache
(and I do not believe it is 're-put()' into the cache)?
Thanks.
Lee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas-dev/attachments/20071025/6f83000c/attachment.html
More information about the cas-dev
mailing list