no message

main
이범준 1 year ago
parent de22b6dc00
commit 1bc9f08a7e

@ -0,0 +1,13 @@
package cokr.xit.fims;
import org.springframework.boot.SpringApplication;
import cokr.xit.base.boot.XitBaseApplication;
public class FimsApplication extends XitBaseApplication {
public static void main(String[] args) {
SpringApplication.run(FimsApplication.class, args);
}
}

@ -1,4 +1,4 @@
package cokr.xit.app; package cokr.xit.fims;
import java.util.List; import java.util.List;

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd">
</beans>

@ -1,58 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:beans="http://www.springframework.org/schema/beans"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
<context:component-scan base-package="cokr.xit">
<context:include-filter type="annotation" expression="org.springframework.stereotype.Component"/>
<context:include-filter type="annotation" expression="org.springframework.stereotype.Service"/>
<context:include-filter type="annotation" expression="org.springframework.stereotype.Repository"/>
</context:component-scan>
<bean id="antPathMater" class="org.springframework.util.AntPathMatcher" />
<bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
<property name="basenames">
<list>
<value>classpath:/message/message-common</value>
<value>classpath:/message/authentication-message</value>
<value>classpath:/org/egovframe/rte/fdl/property/messages/properties</value>
</list>
</property>
<property name="defaultEncoding" value="UTF-8"/>
<property name="cacheSeconds">
<value>60</value>
</property>
</bean>
<bean id="objectMapper" class="com.fasterxml.jackson.databind.ObjectMapper">
<property name="dateFormat" ref="dateFormat"/>
</bean>
<bean id="dateFormat" class="java.text.SimpleDateFormat">
<constructor-arg index="0" value="yyyy-MM-dd HH:mm"/>
</bean>
<bean id="localeResolver" class="org.springframework.web.servlet.i18n.SessionLocaleResolver">
<property name="defaultLocale" value="ko_KR"/>
</bean>
<bean name="propertyService" class="org.egovframe.rte.fdl.property.impl.EgovPropertyServiceImpl" destroy-method="destroy">
<property name="properties">
<map>
<entry key="tempDir" value="D:/temp"/>
<entry key="pageUnit" value="10"/>
<entry key="pageSize" value="10"/>
</map>
</property>
</bean>
<bean name="requestHandlers" class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping" />
<bean id="leaveaTrace" class="org.egovframe.rte.fdl.cmmn.trace.LeaveaTrace" />
</beans>

@ -1,45 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd">
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="net.sf.log4jdbc.sql.jdbcapi.DriverSpy"/>
<property name="url" value="jdbc:log4jdbc:mariadb://211.119.124.9:4407/platform?useUnicode=true&amp;characterEncoding=utf8serverTimezone=Asia/Seoul&amp;useSSL=false" />
<property name="username" value="fimsweb"/>
<property name="password" value="fimsweb!@"/>
</bean>
<bean id="sqlSession" class="cokr.xit.fims.framework.core.utils.XitRefreshableSqlSessionFactoryBean"
p:dataSource-ref="dataSource"
p:configLocation="classpath:sql/mybatis-config.xml"
p:mapperLocations="classpath:sql/mapper/**/*.xml"
/>
<bean id="mapperConfigurer" class="org.egovframe.rte.psl.dataaccess.mapper.MapperConfigurer">
<property name="basePackage" value="cokr.xit" />
<property name="sqlSessionFactoryBeanName" value="sqlSession"/>
</bean>
<bean id="txManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource" ref="dataSource"/>
</bean>
<tx:advice id="txAdvice" transaction-manager="txManager">
<tx:attributes>
<tx:method name="*" rollback-for="Exception"/>
</tx:attributes>
</tx:advice>
<aop:config>
<aop:pointcut id="serviceMethod" expression="execution(* cokr.xit..service.bean..*ServiceBean.*(..))" />
<aop:pointcut id="requiredTx" expression="execution(* cokr.xit..service.bean..*ServiceBean.*(..))"/>
<aop:advisor advice-ref="txAdvice" pointcut-ref="requiredTx" />
</aop:config>
</beans>

@ -1,197 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd">
<!-- 첨부파일 ID Generation Config-->
<bean name="fileIdGnrService"
class="org.egovframe.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl"
destroy-method="destroy">
<property name="dataSource" ref="dataSource" />
<property name="strategy" ref="fileIdStrategy" />
<property name="blockSize" value="10"/>
<property name="table" value="XIT_IDS"/>
<property name="tableName" value="FILE_ID"/>
<property name="tableNameFieldName" value="TABLE_NM"/>
</bean>
<!-- 첨부파일 ID Generation Strategy Config -->
<bean name="fileIdStrategy"
class="org.egovframe.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="FILE_" />
<property name="cipers" value="15" />
<property name="fillChar" value="0" />
</bean>
<!-- 사용자 고유ID Generation Config-->
<bean name="usrEsntlIdGnrService"
class="org.egovframe.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl"
destroy-method="destroy">
<property name="dataSource" ref="dataSource" />
<property name="strategy" ref="usrEsntlStrategy" />
<property name="blockSize" value="10"/>
<property name="table" value="XIT_IDS"/>
<property name="tableName" value="USRCNFRM_ID"/>
<property name="tableNameFieldName" value="TABLE_NM"/>
</bean>
<!-- 사용자 고유ID Generation Strategy Config -->
<bean name="usrEsntlStrategy"
class="org.egovframe.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="USRCNFRM_" />
<property name="cipers" value="11" />
<property name="fillChar" value="0" />
</bean>
<!-- 롤 ID Generation Config-->
<bean name="xitRoleIdGnrService"
class="org.egovframe.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl"
destroy-method="destroy">
<property name="dataSource" ref="dataSource" />
<property name="strategy" ref="roleIdStrategy" />
<property name="blockSize" value="10"/>
<property name="table" value="XIT_IDS"/>
<property name="tableName" value="ROLE_ID"/>
<property name="tableNameFieldName" value="TABLE_NM"/>
</bean>
<!-- 롤 ID Generation Strategy Config -->
<bean name="roleIdStrategy"
class="org.egovframe.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="" />
<property name="cipers" value="6" />
<property name="fillChar" value="0" />
</bean>
<!-- 권한그룹 ID Generation Config-->
<bean name="groupIdGnrService"
class="org.egovframe.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl"
destroy-method="destroy">
<property name="dataSource" ref="dataSource" />
<property name="strategy" ref="groupIdStrategy" />
<property name="blockSize" value="10"/>
<property name="table" value="XIT_IDS"/>
<property name="tableName" value="GRP_ID"/>
<property name="tableNameFieldName" value="TABLE_NM"/>
</bean>
<!-- 권한그룹 ID Generation Strategy Config -->
<bean name="groupIdStrategy"
class="org.egovframe.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="GROUP_" />
<property name="cipers" value="5" />
<property name="fillChar" value="0" />
</bean>
<!-- 게시판마스터 ID Generation Config-->
<bean name="bbsIdGnrService"
class="org.egovframe.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl"
destroy-method="destroy">
<property name="dataSource" ref="dataSource" />
<property name="strategy" ref="bbsIdStrategy" />
<property name="blockSize" value="10"/>
<property name="table" value="XIT_IDS"/>
<property name="tableName" value="BBS_ID"/>
<property name="tableNameFieldName" value="TABLE_NM"/>
</bean>
<!-- 게시판마스터 ID Generation Strategy Config -->
<bean name="bbsIdStrategy"
class="org.egovframe.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="BBSMSTR_" />
<property name="cipers" value="5" />
<property name="fillChar" value="0" />
</bean>
<!-- 조직(부서) ID Generation Config-->
<bean name="xitOrgnztManageIdGnrService"
class="org.egovframe.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl"
destroy-method="destroy">
<property name="dataSource" ref="dataSource" />
<property name="strategy" ref="orgnztStrategy" />
<property name="blockSize" value="10"/>
<property name="table" value="XIT_IDS"/>
<property name="tableName" value="ORG_ID"/>
<property name="tableNameFieldName" value="TABLE_NM"/>
</bean>
<!-- 조직(부서) ID Generation Strategy Config -->
<bean name="orgnztStrategy"
class="org.egovframe.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="ORGNZT_" />
<property name="cipers" value="5" />
<property name="fillChar" value="0" />
</bean>
<!-- 접속로그 ID Generation Config-->
<bean name="xitConectLogIdGnrService"
class="org.egovframe.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl"
destroy-method="destroy">
<property name="dataSource" ref="dataSource" />
<property name="strategy" ref="conectLogStrategy" />
<property name="blockSize" value="10"/>
<property name="table" value="XIT_IDS"/>
<property name="tableName" value="LOGINLOG_ID"/>
<property name="tableNameFieldName" value="TABLE_NM"/>
</bean>
<!-- 접속로그 ID Generation Strategy Config -->
<bean name="conectLogStrategy"
class="org.egovframe.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="LOGIN_" />
<property name="cipers" value="14" />
<property name="fillChar" value="0" />
</bean>
<!-- 게시판템플릿 ID Generation Config-->
<bean name="xitTmplatIdGnrService"
class="org.egovframe.rte.fdl.idgnr.impl.EgovTableIdGnrServiceImpl"
destroy-method="destroy">
<property name="dataSource" ref="dataSource" />
<property name="strategy" ref="tmplatIdStrategy" />
<property name="blockSize" value="10"/>
<property name="table" value="XIT_IDS"/>
<property name="tableName" value="TMPLAT_ID"/>
<property name="tableNameFieldName" value="TABLE_NM"/>
</bean>
<!-- 게시판템플릿 ID Generation Strategy Config -->
<bean name="tmplatIdStrategy"
class="org.egovframe.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl">
<property name="prefix" value="TMPLAT_" />
<property name="cipers" value="13" />
<property name="fillChar" value="0" />
</bean>
</beans>

@ -1,65 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:security="http://www.springframework.org/schema/security"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-5.7.xsd">
<security:http pattern="/resources/**" security="none"/>
<security:http auto-config="true" create-session="never" use-expressions="true" access-decision-manager-ref="accessDecisionManager">
<security:csrf />
<security:headers />
<security:intercept-url pattern="/login.do" access="permitAll" />
<security:intercept-url pattern="/error/*.do" access="permitAll" />
<security:intercept-url pattern="/**/*.do" access="isAuthenticated()" />
<security:form-login
login-page="/login.do"
username-parameter="userID" password-parameter="password"
authentication-details-source-ref="authenticationDetailsSource"
login-processing-url="/login.do"
authentication-success-handler-ref="authenticationSuccess"
authentication-failure-handler-ref="authenticationFailure"
/>
<security:logout
logout-url="/logout.do"
success-handler-ref="logoutSuccess"
/>
<security:session-management invalid-session-url="/error/sessionExpired.do">
<security:concurrency-control expired-url="/error/sessionExpired.do" />
</security:session-management>
</security:http>
<security:http-firewall ref="httpFirewall"/>
<bean id="httpFirewall" class="org.springframework.security.web.firewall.DefaultHttpFirewall"/>
<security:authentication-manager >
<security:authentication-provider ref="authenticationService"/>
</security:authentication-manager>
<bean id="passwordEncoder" class="cokr.xit.base.security.authentication.service.bean.PasswordEncoder" />
<bean id="authenticationService" class="cokr.xit.base.security.authentication.service.bean.AuthenticationServiceBean">
<property name="passwordEncoder" ref="passwordEncoder" />
</bean>
<bean id="authenticationDetailsSource" class="cokr.xit.base.security.authentication.web.AuthenticationExtraDetailsSource" />
<bean id="accessDecisionManager" class="org.springframework.security.access.vote.UnanimousBased">
<constructor-arg>
<list>
<ref bean="applicationAccess"/>
<bean class="org.springframework.security.web.access.expression.WebExpressionVoter"/>
</list>
</constructor-arg>
</bean>
<bean id="applicationAccess" class="cokr.xit.base.security.access.ApplicationAccess">
<!-- <property name="controlAccess" value="true"/> -->
</bean>
</beans>

@ -1,50 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
<mvc:resources location="/resources/**" mapping="/resources/**" />
<mvc:annotation-driven />
<context:component-scan base-package="cokr.xit" use-default-filters="false">
<context:include-filter type="annotation" expression="org.springframework.stereotype.Controller"/>
<context:include-filter type="annotation" expression="org.springframework.web.bind.annotation.ControllerAdvice"/>
</context:component-scan>
<mvc:interceptors>
<mvc:interceptor>
<mvc:mapping path="/"/>
<mvc:mapping path="/**/*.do"/>
<mvc:exclude-mapping path="/resources/**"/>
<bean class="cokr.xit.foundation.web.AccessInitializer" />
</mvc:interceptor>
<mvc:interceptor>
<mvc:mapping path="/"/>
<mvc:mapping path="/**/*.do"/>
<mvc:exclude-mapping path="/resources/**"/>
<bean class="cokr.xit.base.menu.web.MenuInjector" />
</mvc:interceptor>
</mvc:interceptors>
<bean class="org.springframework.web.servlet.view.BeanNameViewResolver" p:order="0"/>
<bean class="org.springframework.web.servlet.view.UrlBasedViewResolver" p:order="1"
p:viewClass="org.springframework.web.servlet.view.JstlView"
p:prefix="/WEB-INF/jsp/" p:suffix=".jsp"
p:exposeContextBeansAsAttributes="true"/>
<bean id="jsonView" class="org.springframework.web.servlet.view.json.MappingJackson2JsonView">
<property name="contentType" value="application/json;charset=UTF-8"/>
<property name="objectMapper" ref="objectMapper"/>
</bean>
<bean id="downloadView" class="cokr.xit.base.file.web.DownloadView" />
<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<property name="maxUploadSize" value="1073741824" /> <!-- 단위: byte, 1GB=1,073,741,824 byte -->
<property name="maxInMemorySize" value="1073741824" /> <!-- 단위: byte, 1GB=1,073,741,824 byte -->
</bean>
</beans>
Loading…
Cancel
Save