CustomUserDetailsService
페이지 정보
본문
package web.security;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.stereotype.Service;
import lombok.RequiredArgsConstructor;
import lombok.extern.log4j.Log4j2;
@Log4j2
@Service
@RequiredArgsConstructor
public class CustomUserDetailsService implements UserDetailsService {
@Override
public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException {
log.info("loadUserByUsername : "+ username);
return null;
}
}
- 이전글CustomSecurityConfig 24.07.18
- 다음글/login ( 브라우저 주소 실행 ) 24.07.18
댓글목록
등록된 댓글이 없습니다.