Re: [cas-user] FacebookObject serialization problem.

2013-04-16 Thread Frederico Guilherme Zveiter de Albuquerque
Hi, Jérôme. Unfortunately, due to time constraints for project delivery and several failed attempts to implement the use of MemcachedClient + Kryo Serialization + OAuth Support, I had to choose to use the net.spy.memcached.transcoders.SerializingTranscoder. Also, I don't believe that the effort t

Re:[cas-user] FacebookObject serialization problem.

2013-04-15 Thread jleleu
Hi I just add tests for Kryo serialization to ensure it will work with pac4j 1.4.0 (in CAS server 4.0) : https://github.com/leleuj/pac4j/commit/c162fcb68ab9639b8089768abeffc8f3f9e134f6. Best regards, Jérôme -- You are currently subscribed to cas-user@lists.jasig.org as: arch...@mail-archive.c

Re:[cas-user] FacebookObject serialization problem.

2013-04-13 Thread jleleu
Hi, You need to define a KryTranscoder Spring bean with the serializerMap property setting all the new types with their associated serializers. That's not the easy part. I think you're right you need to explicitely call the initalize() method (with init-method=). That said, I'm not sure it wil

Re: [cas-user] FacebookObject serialization problem.

2013-04-12 Thread Frederico Guilherme Zveiter de Albuquerque
Hi, Jérôme! As far as I could understand, the initialize method of KryoTranscoder register many classes with Kryo as well as any other in serializerMap map but how and where can I call setSerializerMap to add FacebookObject to the map if KryoTranscoder is registered as a bean in /cas-server-webapp

Re:[cas-user] FacebookObject serialization problem.

2013-04-11 Thread jleleu
Hi, I did some tests : all classes that should be serialized with Kryo must be registered in Kryo. It's done here : https://github.com/Jasig/cas/blob/3.5.x/cas-server-integration-memcached/src/main/java/org/jasig/cas/ticket/registry/support/kryo/KryoTranscoder.java, initialize method. Classes

Re: [cas-user] FacebookObject serialization problem.

2013-04-11 Thread Frederico Guilherme Zveiter de Albuquerque
Thanks, Jérôme. Any tip on a temporary workarounds? *Frederico Zveiter* On Thu, Apr 11, 2013 at 11:07 AM, jleleu wrote: > Hi, > > CAS-1151 is not exactly the same problem, it was about serialization also > but Java serialization not Kryo serialization. It has been fixed, but there > might be