Interface Serializer<T>

Type Parameters:
T - The type of the object being serialized and deserialized.
All Known Implementing Classes:
DefaultSerializer, XmlSerializer

public interface Serializer<T>
A Serializer converts objects to raw binary data and vice versa, enabling persistent storage of objects to files, HTTP cookies, or other mechanism.

A Serializer should only do conversion, never change the data, such as encoding/decoding or encryption. These orthogonal concerns are handled elsewhere by Shiro, for example, via CodecSupport and

invalid reference
CipherService
s.
Since:
0.9