ChunMengLu commented on issue #61: [SHIRO-670] ByteSource Serializable! URL: https://github.com/apache/shiro/pull/61#issuecomment-467254254 > do you have a custom Session Cache Yes,last i use custom ByteSource. (🇨🇳最后我自定义了一个ByteSource实现。) ```java @Override protected AuthenticationInfo doGetAuthenticationInfo( //...... return new SimpleAuthenticationInfo(shiroUser, user.getPassword().toCharArray(), ShiroByteSource.of(user.getSalt()), getName()); ``` Just adding implements Serializable doesn't seem to work. Can you optimize the Session Cache interface to facilitate custom implementation? ( 🇨🇳只添加 implements Serializable 好像是不行的,能否优化一下 Session Cache 接口去方便客户自定义实现。)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
