|
|
@@ -29,15 +29,14 @@ public class PasswordLoginUserDetailService implements UserDetailsService { |
|
|
|
throw new UsernameNotFoundException(String.format("%s user not exist", username)); |
|
|
|
} |
|
|
|
UserInfoDetails userInfoDetails = new UserInfoDetails(); |
|
|
|
// userInfoDetails.setUserId(userFullInfoDTO.getUserId()); |
|
|
|
// userInfoDetails.setUsername(userFullInfoDTO.getUsername()); |
|
|
|
// userInfoDetails.setRealName(userFullInfoDTO.getRealName()); |
|
|
|
// userInfoDetails.setRole(userFullInfoDTO.getRole()); |
|
|
|
// userInfoDetails.setRegionCode(userFullInfoDTO.getRegionCode()); |
|
|
|
// userInfoDetails.setCompanyId(userFullInfoDTO.getCompanyId()); |
|
|
|
// userInfoDetails.setResponsibleCompanyIdList(userFullInfoDTO.getResponsibleCompanyIdList()); |
|
|
|
// userInfoDetails.setIdentifier(userFullInfoDTO.getIdentifier()); |
|
|
|
// userInfoDetails.setPassword(userFullInfoDTO.getCredential()); |
|
|
|
userInfoDetails.setUserId(userFullInfoDTO.getUserId()); |
|
|
|
userInfoDetails.setUsername(userFullInfoDTO.getUsername()); |
|
|
|
userInfoDetails.setRealName(userFullInfoDTO.getRealName()); |
|
|
|
userInfoDetails.setRole(userFullInfoDTO.getRole()); |
|
|
|
userInfoDetails.setRegionCode(userFullInfoDTO.getRegionCode()); |
|
|
|
userInfoDetails.setCompanyId(userFullInfoDTO.getCompanyId()); |
|
|
|
userInfoDetails.setIdentifier(userFullInfoDTO.getIdentifier()); |
|
|
|
userInfoDetails.setPassword(userFullInfoDTO.getCredential()); |
|
|
|
return userInfoDetails; |
|
|
|
} |
|
|
|
} |