| 12345678910111213141516171819 |
- package jnpf.service;
- import jnpf.base.UserInfo;
- import jnpf.exception.LoginException;
- import org.springframework.core.Ordered;
- public interface UserDetailService extends Ordered {
- static final String USER_DETAIL_PREFIX = "USERDETAIL_";
- /**
- * 获取用户信息
- * @param userInfo
- * @return UserEntity
- * @param <T>
- */
- <T> T loadUserEntity(UserInfo userInfo) throws LoginException;
- }
|