protected SessionEncoder createDefaultSessionEncoder() {
SerializationEncoder encoder = new SerializationEncoder();
try {
encoder.afterPropertiesSet();
} catch (Exception e) {
throw new SessionStoreException("Could not create default session encoder", e);
}
return encoder;