<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dwr="http://www.directwebremoting.org/schema/spring-dwr"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.directwebremoting.org/schema/spring-dwr
http://www.directwebremoting.org/schema/spring-dwr-2.0.xsd">
<!-- view resolver -->
<bean id="viewResolver"
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="viewClass"
value="org.springframework.web.servlet.view.JstlView" />
</bean>
<bean id="firstHandlerMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="order" value="1" />
<!-- property name="interceptors">
<list>
<ref bean="secfw.pageInterceptor" />
</list>
</property -->
<property name="alwaysUseFullPath" value="true" />
<property name="mappings">
<props>
<prop key="/secfw/bbsMng.do">secfw.bbsMngControl</prop>
<prop key="/secfw/bbs.do">secfw.bbsControl</prop>
<prop key="/secfw/dept.do">secfw.deptControl</prop>
<prop key="/secfw/comCode.do">secfw.comCodeControl</prop>
<prop key="/secfw/user.do">secfw.userControl</prop>
<prop key="/secfw/util.do">secfw.zipControl</prop>
<prop key="/secfw/popCalendar.do">secfw.popCalendarControl</prop>
<prop key="/secfw/page.do">secfw.pageControl</prop>
<prop key="/secfw/log.do">secfw.logControl</prop>
<prop key="/secfw/systemAlert.do">secfw.systemAlertControl</prop>
<prop key="/secfw/template/reply.do">secfw.template.replyControl</prop>
<prop key="/secfw/template/noReply.do">secfw.template.noReplyControl</prop>
<!-- 유영철 추가 -->
<prop key="/secfw/deptCombo.do">secfw.deptComboControl</prop>
<prop key="/secfw/noMenuAuth.do">secfw.noMenuAuthControl</prop>
<prop key="/secfw/EPUpload.do">secfw.EPUploadControl</prop>
<!-- // 유영철 추가 -->
<prop key="/secfw/auth.do">secfw.authControl</prop>
<prop key="/secfw/menu.do">secfw.menuControl</prop>
<prop key="/secfw/popup/univList.do">secfw.univControl</prop> <!-- 대학교 -->
<prop key="/secfw/popup/majorList.do">secfw.majorControl</prop> <!-- 전공 -->
<prop key="/secfw/popup/lecturerList.do">secfw.lecturerControl</prop> <!-- 강사 -->
<prop key="/secfw/esbOrg.do">secfw.esbOrg</prop>
<prop key="/secfw/mail.do">secfw.mailControl</prop><!-- 메일 -->
</props>
</property>
</bean>
<bean id="secondHandlerMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="order" value="2" />
<property name="interceptors">
<list>
<ref bean="secfw.pageInterceptor" />
</list>
</property>
<property name="alwaysUseFullPath" value="true" />
<property name="mappings">
<props>
<prop key="/admin/admin.do">secfw.AdminControl</prop>
</props>
</property>
</bean>
<bean id="adminNoInterceptorHandlerMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="order" value="3" />
<property name="interceptors">
<list>
<ref bean="secfw.noauthpageInterceptor" />
</list>
</property>
<property name="alwaysUseFullPath" value="true" />
<property name="mappings">
<props>
<prop key="/admin/AdminLeftMenu.do">secfw.AdminLeftMenuControl</prop> <!-- Left 메뉴 -->
</props>
</property>
</bean>
<bean id="adminIndexDoHandlerMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="order" value="4" />
<property name="alwaysUseFullPath" value="true" />
<property name="mappings">
<props>
<prop key="/admin/index.do">secfw.IndexControl</prop>
</props>
</property>
</bean>
<bean id="notApprovalInterceptorHandlerMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="order" value="5" />
<property name="alwaysUseFullPath" value="true" />
<property name="mappings">
<props>
<prop key="/secfw/ssoCheck.do">secfw.ssoCheckControl</prop>
<prop key="/secfw/video.do">secfw.VideoControl</prop>
</props>
</property>
</bean>
<!-- multipart resolver -->
<bean id="multipartResolver"
class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<property name="maxUploadSize">
<value>10000000</value>
</property>
</bean>
<!-- locale resolver -->
<bean id="localeResolver"
class="org.springframework.web.servlet.i18n.SessionLocaleResolver">
<property name="defaultLocale" value="ko" />
</bean>
<!-- Interceptor -->
<bean id="secfw.pageInterceptor" class="com.sds.secframework.common.interceptor.PageInterceptor">
<property name="commonDAO" ref="secfw.commonDAO" />
<property name="propertyService" ref="secfw.propertyService" />
<property name="messageSource" ref="messageSource" />
<property name="localeResolver" ref="localeResolver" />
</bean>
<!-- //Interceptor -->
<!-- Interceptor 권한체크 안함 -->
<bean id="secfw.noauthpageInterceptor" class="com.sds.secframework.common.interceptor.NoAuthPageInterceptor">
<property name="commonDAO" ref="secfw.commonDAO" />
<property name="propertyService" ref="secfw.propertyService" />
<property name="messageSource" ref="messageSource" />
<property name="localeResolver" ref="localeResolver" />
</bean>
<!-- //Interceptor 권한체크 안함 -->
<!-- exception resolver -->
<bean id="exceptionResolver"
class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver">
<property name="exceptionMappings">
<props>
<prop key="org.springframework.dao.DataAccessException">
/jsp/secfw/common/ErrorPage.jsp
</prop>
</props>
</property>
<property name="defaultErrorView" value="/jsp/secfw/common/ErrorPage.jsp" />
</bean>
<bean id="paramResolver"
class="org.springframework.web.servlet.mvc.multiaction.ParameterMethodNameResolver">
<property name="paramName">
<value>method</value>
</property>
</bean>
<!-- 로그인 (mySingle SSO 체크) -->
<bean id="secfw.ssoCheckControl" class="com.sds.secframework.user.control.LoginController">
<property name="loginService" ref="secfw.loginService" />
<property name="mainService" ref="common.MainService" />
<property name="authService" ref="secfw.authService" />
<property name="logService" ref="secfw.logService" />
<property name="propertyService" ref="secfw.propertyService" />
<property name="commonDAO" ref="secfw.commonDAO" />
<property name="methodNameResolver" ref="paramResolver" />
<property name="successView" value="${secfw.url.loginPage}" />
</bean>
<!-- System ALERT -->
<bean id="secfw.systemAlertControl" class="com.sds.secframework.util.control.SystemAlertController">
<property name="propertyService" ref="secfw.propertyService" />
<property name="methodNameResolver" ref="paramResolver" />
</bean>
<!-- 게시판관리 -->
<bean id="secfw.bbsMngControl"
class="com.sds.secframework.bbs.control.BBSMngController">
<property name="bbsMngService" ref="secfw.bbsMngService" />
<property name="propertyService" ref="secfw.propertyService" />
<property name="codeService" ref="secfw.codeService" />
<property name="methodNameResolver" ref="paramResolver" />
</bean>
<!-- 게시내역 관리 -->
<bean id="secfw.bbsControl"
class="com.sds.secframework.bbs.control.BBSController">
<property name="bbsService" ref="secfw.bbsService" />
<property name="bbsMngService" ref="secfw.bbsMngService" />
<property name="propertyService" ref="secfw.propertyService" />
<property name="methodNameResolver" ref="paramResolver" />
</bean>
<!-- 부서관리 -->
<bean id="secfw.deptControl"
class="com.sds.secframework.dept.control.DeptController">
<property name="deptService" ref="secfw.deptService" />
<property name="propertyService" ref="secfw.propertyService" />
<property name="methodNameResolver" ref="paramResolver" />
</bean>
<!-- 달력팝업 -->
<bean id="secfw.popCalendarControl"
class="com.sds.secframework.util.control.CalendarController">
<property name="propertyService" ref="secfw.propertyService" />
<property name="methodNameResolver" ref="paramResolver" />
</bean>
<!-- Tempate관리 -->
<bean id="secfw.template.replyControl"
class="com.sds.secframework.template.control.ReplyController">
<property name="replyService" ref="secfw.replyService" />
<property name="propertyService" ref="secfw.propertyService" />
<property name="methodNameResolver" ref="paramResolver" />
</bean>
<bean id="secfw.template.noReplyControl"
class="com.sds.secframework.template.control.NoReplyController">
<property name="noReplyService" ref="secfw.noReplyService" />
<property name="propertyService" ref="secfw.propertyService" />
<property name="methodNameResolver" ref="paramResolver" />
</bean>
<!-- //Tempate관리 -->
<!-- 한지영 추가 -->
<!-- 코드 관리 -->
<bean id="secfw.comCodeControl"
class="com.sds.secframework.code.control.CodeController">
<property name="codeService" ref="secfw.codeService" />
<property name="methodNameResolver" ref="paramResolver" />
<property name="propertyService" ref="secfw.propertyService" />
<property name="success_list" value="/jsp/secfw/code/CodeList.jsp" />
<property name="success_addView" value="/jsp/secfw/code/CodeInsert.jsp" />
<property name="success_get" value="/jsp/secfw/code/CodeDetail.jsp" />
<property name="success_add" value="/secfw/comCode.do?method=listCodeByGrpCd" />
<property name="success_update" value="/secfw/comCode.do?method=listCodeByGrpCd" />
<property name="success_delete" value="/secfw/comCode.do?method=listCodeByGrpCd" />
</bean>
<!-- 사용자 관리 -->
<bean id="secfw.userControl"
class="com.sds.secframework.user.control.UserController">
<property name="userService" ref="secfw.userService" />
<property name="localeResolver" ref="localeResolver" />
<property name="methodNameResolver" ref="paramResolver" />
<property name="propertyService" ref="secfw.propertyService" />
<property name="messageSource" ref="messageSource" />
<property name="mailService" ref="secfw.MailService" />
<property name="success_list" value="/jsp/secfw/search/UserListPopup.jsp" />
</bean>
<!-- 우편번호 검색 -->
<bean id="secfw.zipControl" class="com.sds.secframework.util.control.ZipController">
<property name="zipService" ref="secfw.zipService" />
<property name="methodNameResolver" ref="paramResolver" />
<property name="success_list" value="/jsp/secfw/search/ZipListPopup.jsp" />
</bean>
<!-- //한지영 추가 -->
<!-- 김형석 추가 -->
<!-- 페이지 관리 -->
<bean id="secfw.pageControl"
class="com.sds.secframework.menu.control.PageController">
<property name="pageService" ref="secfw.pageService" />
<property name="methodNameResolver" ref="paramResolver" />
<property name="propertyService" ref="secfw.propertyService" />
<property name="success_list" value="/jsp/secfw/menu/PageList.jsp" />
<property name="success_addView" value="/jsp/secfw/menu/PageInsert.jsp" />
<property name="success_get" value="/jsp/secfw/menu/PageDetail.jsp" />
</bean>
<!-- 로그정보 관리 -->
<bean id="secfw.logControl"
class="com.sds.secframework.log.control.LogController">
<property name="logService" ref="secfw.logService" />
<property name="methodNameResolver" ref="paramResolver" />
<property name="propertyService" ref="secfw.propertyService" />
</bean>
<!-- //김형석 추가 -->
<!-- 유영철 추가 -->
<!-- 삼단콤보(ajax) : 부문>사업부>부서 선택 -->
<bean id="secfw.deptComboControl"
class="com.sds.secframework.dept.control.DeptComboController">
<property name="deptComboService" ref="secfw.deptComboService" />
<property name="methodNameResolver" ref="paramResolver" />
</bean>
<!-- 권한없는 메뉴 선택시 권한없음 메세지 표시 -->
<bean id="secfw.noMenuAuthControl"
class="anyframe.web.springmvc.controller.ForwardController">
<property name="viewName" value="/secfw/systemAlert.do?method=forwardSystemAlert&secfw.alertGbn=noAuthTitle" />
</bean>
<!-- 공통 : 파일첨부(multi) -->
<bean id="secfw.EPUploadControl"
class="anyframe.web.springmvc.controller.ForwardController">
<property name="viewName" value="/jsp/secfw/common/EPUploadType1.jsp" />
</bean>
<!-- //유영철 추가 -->
<!-- 오주환 추가 -->
<!-- 역할 관리 / 권한관리 -->
<bean id="secfw.authControl"
class="com.sds.secframework.authority.control.AuthorityController">
<property name="authService" ref="secfw.authService" />
<property name="messageSource" ref="messageSource" />
<property name="methodNameResolver" ref="paramResolver" />
<property name="propertyService" ref="secfw.propertyService" />
<property name="success_list" value ="/jsp/secfw/authority/RoleList.jsp" />
<property name="success_add" value="/secfw/auth.do?method=listRoleDetailPage" />
<property name="success_addView" value="/secfw/auth.do?method=listRoleUser" />
</bean>
<!-- Menu 관리 -->
<bean id="secfw.menuControl"
class="com.sds.secframework.menu.control.MenuController">
<property name="menuService" ref="secfw.menuService" />
<property name="messageSource" ref="messageSource" />
<property name="methodNameResolver" ref="paramResolver" />
<property name="success_list" value="/jsp/common/menu/MenuList.jsp" />
<property name="success_get" value="/jsp/common/menu/MenuDetail.jsp" />
<property name="success_addView" value="/jsp/common/menu/MenuInsert.jsp" />
</bean>
<!-- //오주환 추가 -->
<!--
<bean id="/mainFrame.do"
class="anyframe.web.springmvc.controller.ForwardController">
<property name="viewName" value="/mainFrame.jsp"/>
</bean>
초기 mainFrame 화면
<bean id="/welcome.do"
class="anyframe.web.springmvc.controller.ForwardController">
<property name="viewName" value="/sample/layouts/welcome.jsp" />
</bean>
-->
<!-- video backjob -->
<bean id="secfw.VideoControl"
class="com.sds.secframework.video.control.VideoController">
<property name="videoService" ref="secfw.VideoService" />
<property name="propertyService" ref="secfw.propertyService"/>
<property name="methodNameResolver" ref="paramResolver"/>
</bean>
<dwr:controller id="dwrController" debug="true" />
<dwr:configuration />
<!-- page Index -->
<bean id="secfw.IndexControl"
class="anyframe.web.springmvc.controller.ForwardController">
<property name="viewName" value="/jsp/secfw/user/ssoCheck.jsp?secfw.forwardURL=/jsp/secfw/admin/index.jsp" />
</bean>
<bean id="secfw.AdminControl"
class="com.sds.secframework.admin.control.AdminController">
<property name="adminService" ref="secfw.AdminService" />
<property name="propertyService" ref="secfw.propertyService" />
<property name="methodNameResolver" ref="paramResolver" />
</bean>
<!-- ####################################################################### -->
<!-- ######## LEFT 메뉴 ######## -->
<!-- ####################################################################### -->
<bean id="secfw.AdminLeftMenuControl"
class="com.sds.secframework.admin.control.AdminLeftMenuController">
<property name="adminLeftMenuService" ref="secfw.AdminLeftMenuService" />
<property name="propertyService" ref="secfw.propertyService" />
<property name="methodNameResolver" ref="paramResolver" />
</bean>
<!-- 대학교 -->
<bean id="secfw.univControl"
class="com.sds.secframework.popup.control.UnivController">
<property name="messageSource" ref="messageSource" />
<property name="methodNameResolver" ref="paramResolver" />
<property name="propertyService" ref="secfw.propertyService" />
<property name="univService" ref="secfw.common.UnivService" />
</bean>
<!-- 전공 -->
<bean id="secfw.majorControl"
class="com.sds.secframework.popup.control.MajorController">
<property name="messageSource" ref="messageSource" />
<property name="methodNameResolver" ref="paramResolver" />
<property name="propertyService" ref="secfw.propertyService" />
<property name="majorService" ref="secfw.common.MajorService" />
</bean>
<!-- 강사 -->
<bean id="secfw.lecturerControl"
class="com.sds.secframework.popup.control.LecturerController">
<property name="messageSource" ref="messageSource" />
<property name="methodNameResolver" ref="paramResolver" />
<property name="propertyService" ref="secfw.propertyService" />
<property name="lecturerService" ref="secfw.common.LecturerService" />
</bean>
<bean id="secfw.esbOrg"
class="com.sds.secframework.singleIF.control.EsbOrgController">
<property name="esbOrgService" ref="secfw.EsbOrgService" />
<property name="messageSource" ref="messageSource" />
<property name="propertyService" ref="secfw.propertyService" />
<property name="methodNameResolver" ref="paramResolver" />
<property name="localeResolver" ref="localeResolver" />
</bean>
<!-- sendmail -->
<bean id="secfw.mailControl" class="com.sds.secframework.mail.control.MailController">
<property name="mailService" ref="secfw.MailService" />
<property name="propertyService" ref="secfw.propertyService" />
<!-- <property name="codeService" ref="secfw.codeService" />-->
<property name="methodNameResolver" ref="paramResolver" />
</bean>
</beans>
댓글 없음:
댓글 쓰기