On Wed, Aug 17, 2011 at 6:29 AM, Kirk, Matt <[email protected]> wrote:

>  Hi All / Scott,
>
> I've implemented a CAS Cluster using CAS 3.4.7 and Ehcache 2.2.0 as
> described in https://wiki.jasig.org/display/CASUM/EhcacheTicketRegistrywith 
> the EhcacheTicketRegistry.java found at
> https://wiki.jasig.org/download/attachments/40927328/EhcacheTicketRegistry.java
>
> The EhcacheTicketRegistry however appears to have been written against an
> older version of CAS (pre 3.4.4) as the super class
> AbstractDistributedTicketRegistry now includes the new abstract method:
>
> protected boolean needsCallback()
>
> which now needs to be implemented in the EhcacheTicketRegistry.  I've got
> this working by simply returning false from my local version of
> EhcacheTicketRegistry but wanted to know about the intention of this method
> and what implementations of it should really be doing.  Or, better still if
> there is already a compatible version of the EhcacheTicketRegistry with CAS
> 3.4.7 which has already correctly implemented this method.
>

The intention of that method is that certain implementations of the
distributed cache require additional callbacks for updating in order to
resolve serialization issue with certain implementations (i.e. distributed
EhCache, JBoss, Memcached, etc.)

For Ehcache, you should be returning true (the abstract distributed ticket
registry handles the rest).

EhcacheTicketRegistry is currently not a supported implementation so no one
is maintaining updated versions of it.

Cheers,
Scott




>
> Does anyone have an information on this please as there is nothing in the
> JavaDoc describing what the intention of this method is?
>
> Thanks,
> Matt
>
>
>
> Information in this email including any attachments may be privileged,
> confidential and is intended exclusively for the addressee. The views
> expressed may not be official policy, but the personal views of the
> originator. If you have received it in error, please notify the sender by
> return e-mail and delete it from your system. You should not reproduce,
> distribute, store, retransmit, use or disclose its contents to anyone.
> Please note we reserve the right to monitor all e-mail communication through
> our internal and external networks. SKY and the SKY marks are trade marks of
> British Sky Broadcasting Group plc and are used under licence. British Sky
> Broadcasting Limited (Registration No. 2906991), Sky Interactive Limited
> (Registration No. 3554332), Sky-In-Home Service Limited (Registration No.
> 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are
> direct or indirect subsidiaries of British Sky Broadcasting Group plc
> (Registration No. 2247735). All of the companies mentioned in this paragraph
> are incorporated in England and Wales and share the same registered office
> at Grant Way, Isleworth, Middlesex TW7 5QD.
>
> --
> 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

Reply via email to