Lierbao pirms 1 gada
vecāks
revīzija
2151807e18
2 mainītis faili ar 14 papildinājumiem un 1 dzēšanām
  1. +12
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserAuthLoginManage.java
  2. +2
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/user/security/auth/password/PasswordLoginUserDetailService.java

+ 12
- 0
pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserAuthLoginManage.java Parādīt failu

@@ -0,0 +1,12 @@
package com.ningdatech.pmapi.user.manage;

import org.springframework.stereotype.Component;

/**
* @author liuxinxin
* @date 2023/1/3 上午10:57
*/

@Component
public class UserAuthLoginManage {
}

+ 2
- 1
pmapi/src/main/java/com/ningdatech/pmapi/user/security/auth/password/PasswordLoginUserDetailService.java Parādīt failu

@@ -1,6 +1,7 @@
package com.ningdatech.pmapi.user.security.auth.password;


import com.ningdatech.pmapi.user.manage.UserAuthLoginManage;
import com.ningdatech.pmapi.user.security.auth.model.UserInfoDetails;
import lombok.RequiredArgsConstructor;
import org.springframework.security.core.userdetails.UserDetailsService;
@@ -16,7 +17,7 @@ import org.springframework.stereotype.Service;
@RequiredArgsConstructor
public class PasswordLoginUserDetailService implements UserDetailsService {

// private final UserAuthLoginFacade userAuthLoginFacade;
private final UserAuthLoginManage userAuthLoginManage;

@Override
public UserInfoDetails loadUserByUsername(String username) throws UsernameNotFoundException {


Notiek ielāde…
Atcelt
Saglabāt