org.crazycake.shiro.serializer.RedisSerializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shiro-redis Show documentation
Show all versions of shiro-redis Show documentation
shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
package org.crazycake.shiro.serializer;
import org.crazycake.shiro.exception.SerializationException;
public interface RedisSerializer {
byte[] serialize(T t) throws SerializationException;
T deserialize(byte[] bytes) throws SerializationException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy