/**
* Loads the username by using the account ID of the user.
* @param userId The account ID of the requested user.
* @return The information of the requested user.
* @throws UsernameNotFoundException Thrown if no user is found.
* @throws DataAccessException
*/
@Override
public SocialUserDetails loadUserByUserId(String userId) throws UsernameNotFoundException, DataAccessException {
LOGGER.debug("Loading user by user id: {}", userId);
UserDetails userDetails = userDetailsService.loadUserByUsername(userId);
LOGGER.debug("Found user details: {}", userDetails);
return (SocialUserDetails) userDetails;
}
SimpleSocialUserDetailsService.java 文件源码
java
阅读 17
收藏 0
点赞 0
评论 0
项目:gamesboard
作者:
评论列表
文章目录