kryo.register(SimpleWebApplicationServiceImpl.class, new SimpleWebApplicationServiceSerializer(kryo));
kryo.register(ThrottledUseAndTimeoutExpirationPolicy.class);
kryo.register(TicketGrantingTicketExpirationPolicy.class);
kryo.register(TicketGrantingTicketImpl.class);
kryo.register(TimeoutExpirationPolicy.class);
kryo.register(URL.class, new URLSerializer(kryo));
kryo.register(RegisteredServiceImpl.class, new RegisteredServiceSerializer(kryo));
kryo.register(RegexRegisteredService.class, new RegisteredServiceSerializer(kryo));
// Register other types
if (serializerMap != null) {