주석 정리

This commit is contained in:
KNKIM 2021-12-17 13:44:56 +09:00
parent 59ba537421
commit 524ed3e1f6
15 changed files with 90 additions and 62 deletions

View File

@ -1,7 +1,6 @@
package nlib.info.service.impl;
import java.util.HashMap;
import java.util.List;
import egovframework.rte.psl.dataaccess.mapper.Mapper;
import org.apache.ibatis.annotations.Param;

View File

@ -10,8 +10,6 @@ import org.springframework.stereotype.Service;
import nlib.cmm.service.NlibProperty;
import nlib.info.service.InformService;
import nlib.restful.DataApiReqVO;
import nlib.restful.DataApiResVO;
import nlib.util.StringUtil;
/**

View File

@ -1,7 +1,6 @@
package nlib.info.web;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
@ -12,15 +11,10 @@ import org.springframework.security.core.Authentication;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import nlib.cmm.NlibCommonController;
import nlib.cmm.service.NlibProperty;
import nlib.info.service.InformService;
import nlib.info.service.impl.InformServiceImpl;
import nlib.restful.DataApiReqVO;
import nlib.restful.DataApiResVO;
import nlib.util.StringUtil;
/**
* <pre>

View File

@ -19,6 +19,28 @@ import com.fasterxml.jackson.databind.ObjectMapper;
import nlib.util.StringUtil;
/**
* <pre>
* @Class Name : XmlConverter.java
*
* @Description : XML을 객체(HashMap, 기타 클래스) 전환하는 유틸리티
*
*
* @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
*
* </pre>
*
* @ ------------ -------- ---------------------------
* @ 수정일 수정자 수정내용
* @ ------------ -------- ---------------------------
* @ 2021-07-20 KNKIM 최초 생성
*
*
* @author 이씨플라자 * DIGITALSHIP KNKIM
* @since 2021-07-20
* @version 1.0
*
*/
public class XmlConverter {
private static final Logger log = LoggerFactory.getLogger(XmlConverter.class);

View File

@ -1,8 +1,5 @@
package nlib.security;
import java.util.Arrays;
import java.util.HashMap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

View File

@ -1,21 +1,15 @@
package nlib.security;
import java.util.HashMap;
import javax.annotation.Resource;
import org.springframework.security.core.userdetails.User.UserBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.stereotype.Service;
import nlib.restful.DataApiReqVO;
import nlib.restful.DataApiResVO;
/**
* <pre>
* @Class Name : NlibUserDetailsService.java
@ -47,9 +41,8 @@ public class SecUserDetailsService implements UserDetailsService {
private SecUserDAO secUserDAO;
/* 사용자명(ID)으로 사용자정보를 조회해 온다.
* (non-Javadoc)
* @see org.springframework.security.core.userdetails.UserDetailsService#loadUserByUsername(java.lang.String)
/*
* 사용자명(ID)으로 사용자정보를 조회해 온다.
*/
@Override
public UserDetails loadUserByUsername(String loginUserId) throws UsernameNotFoundException {

View File

@ -7,7 +7,6 @@ import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import nlib.cmm.crypto.AriaCrypto;
import nlib.cmm.service.NlibProperty;
import nlib.user.service.NlibLoginVO;

View File

@ -1,15 +1,9 @@
package nlib.security;
import javax.servlet.http.HttpServletRequest;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.MediaType;
import org.springframework.security.access.annotation.Secured;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.authentication.AuthenticationProvider;
import org.springframework.security.authentication.dao.DaoAuthenticationProvider;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.builders.WebSecurity;
@ -17,13 +11,9 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import nlib.cmm.crypto.NlibPasswordEncoder;
import nlib.cmm.service.NlibProperty;
import nlib.user.service.NlibLoginVO;
/**
* <pre>

View File

@ -9,6 +9,28 @@ import egovframework.com.ext.oauth.service.OAuthUniversalUser;
import nlib.restful.DataApiReqVO;
import nlib.restful.DataApiResVO;
/**
* <pre>
* @Class Name : LoginService.java
*
* @Description : 로그인 서비스 인터페이스
*
*
* @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
*
* </pre>
*
* @ ------------ -------- ---------------------------
* @ 수정일 수정자 수정내용
* @ ------------ -------- ---------------------------
* @ 2021-07-09 KNKIM 최초 생성
*
*
* @author 이씨플라자 * DIGITALSHIP KNKIM
* @since 2021-07-09
* @version 1.0
*
*/
public interface LoginService
{
//-------------------------------

View File

@ -1,11 +1,8 @@
package nlib.user.service;
import java.io.Serializable;
import java.util.Base64;
import nlib.cmm.NlibCommonController;
import nlib.cmm.crypto.AriaCrypto;
import nlib.util.StringUtil;
/**
* <pre>

View File

@ -6,11 +6,32 @@ import java.util.HashMap;
import org.springframework.stereotype.Repository;
import egovframework.com.cmm.service.impl.EgovComAbstractDAO;
import nlib.cmm.crypto.AriaCrypto;
import nlib.restful.DataApiReqVO;
import nlib.restful.DataApiResVO;
import nlib.user.service.NlibLoginVO;
/**
* <pre>
* @Class Name : LoginDAO.java
*
* @Description : 로그인 DAO
*
*
* @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
*
* </pre>
*
* @ ------------ -------- ---------------------------
* @ 수정일 수정자 수정내용
* @ ------------ -------- ---------------------------
* @ 2021-07-09 KNKIM 최초 생성
*
*
* @author 이씨플라자 * DIGITALSHIP KNKIM
* @since 2021-07-09
* @version 1.0
*
*/
@Repository("loginDAO")
public class LoginDAO extends EgovComAbstractDAO {

View File

@ -27,6 +27,28 @@ import nlib.user.service.LoginService;
import nlib.user.service.NlibLoginVO;
import nlib.util.StringUtil;
/**
* <pre>
* @Class Name : LoginServiceImpl.java
*
* @Description : 로그인 서비스 구현 클래스
*
*
* @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
*
* </pre>
*
* @ ------------ -------- ---------------------------
* @ 수정일 수정자 수정내용
* @ ------------ -------- ---------------------------
* @ 2021-07-09 KNKIM 최초 생성
*
*
* @author 이씨플라자 * DIGITALSHIP KNKIM
* @since 2021-07-09
* @version 1.0
*
*/
@Service("loginService")
public class LoginServiceImpl implements LoginService
{

View File

@ -26,8 +26,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.mvc.support.RedirectAttributes;
import com.fasterxml.jackson.databind.ObjectMapper;
import egovframework.com.ext.oauth.service.OAuthConfig;
import egovframework.com.ext.oauth.service.OAuthLogin;
import egovframework.com.ext.oauth.service.OAuthUniversalUser;

View File

@ -32,7 +32,6 @@ import egovframework.com.ext.oauth.service.OAuthUniversalUser;
import egovframework.rte.fdl.cryptography.EgovPasswordEncoder;
import nlib.cmm.NlibCommonController;
import nlib.cmm.qrcode.QRCodeUtil;
import nlib.cmm.service.NlibProperty;
import nlib.col.service.CollectionService;
import nlib.col.service.CollectionVO;
import nlib.col.service.InterestService;
@ -40,7 +39,6 @@ import nlib.col.service.ReadService;
import nlib.col.service.RentService;
import nlib.restful.DataApiResVO;
import nlib.security.SecUserDetailsService;
import nlib.security.SecUserVO;
import nlib.user.service.LoginService;
import nlib.user.service.NlibLoginVO;
import nlib.user.service.UserInfoService;

View File

@ -40,28 +40,6 @@ import nlib.cmm.service.NlibProperty;
* @version 1.0
*
*/
/**
* <pre>
* @Class Name : StringUtil.java
*
* @Description :
*
*
* @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
*
* </pre>
*
* @ ------------ -------- ---------------------------
* @ 수정일 수정자 수정내용
* @ ------------ -------- ---------------------------
* @ 2021. 10. 25. KNKIM 최초 생성
*
*
* @author 이씨플라자 * DIGITALSHIP KNKIM
* @since 2021. 10. 25.
* @version 1.0
*
*/
public class StringUtil extends StringUtils {
private static final Logger log = LoggerFactory.getLogger(StringUtil.class);