Index: .idea/sonarIssues.xml =================================================================== diff -u -r3dec79090f9a1d2a90c3fef612d0de77863cae68 -r879280b2292b26d04b9f1b9cb1c8bcb822855709 --- .idea/sonarIssues.xml (.../sonarIssues.xml) (revision 3dec79090f9a1d2a90c3fef612d0de77863cae68) +++ .idea/sonarIssues.xml (.../sonarIssues.xml) (revision 879280b2292b26d04b9f1b9cb1c8bcb822855709) @@ -898,11 +898,21 @@ + + + + + + + + + + @@ -918,6 +928,11 @@ + + + + + Index: standard/project/web/pom.xml =================================================================== diff -u -rde73423c34734632bdb4739a1834a9e27a20c014 -r879280b2292b26d04b9f1b9cb1c8bcb822855709 --- standard/project/web/pom.xml (.../pom.xml) (revision de73423c34734632bdb4739a1834a9e27a20c014) +++ standard/project/web/pom.xml (.../pom.xml) (revision 879280b2292b26d04b9f1b9cb1c8bcb822855709) @@ -68,8 +68,7 @@ web - ${basedir}/profiles/${build.profile.id}/database.properties - ${basedir}/profiles/${build.profile.id}/socialProviders.properties + ${basedir}/profiles/${build.profile.id}/support.properties FishEye: Tag 879280b2292b26d04b9f1b9cb1c8bcb822855709 refers to a dead (removed) revision in file `standard/project/web/profiles/dev/database.properties'. FishEye: No comparison available. Pass `N' to diff? FishEye: Tag 879280b2292b26d04b9f1b9cb1c8bcb822855709 refers to a dead (removed) revision in file `standard/project/web/profiles/dev/socialProviders.properties'. FishEye: No comparison available. Pass `N' to diff? Index: standard/project/web/profiles/dev/support.properties =================================================================== diff -u --- standard/project/web/profiles/dev/support.properties (revision 0) +++ standard/project/web/profiles/dev/support.properties (revision 879280b2292b26d04b9f1b9cb1c8bcb822855709) @@ -0,0 +1,30 @@ +# Database configuration props +database.driver=oracle.jdbc.driver.OracleDriver +database.url=jdbc:oracle:thin:@db.313.co.kr:1521:orcl +database.username=TEST_DB +database.password=TEST_DB_1234 + +# hibernate props +hibernate.dialect=org.hibernate.dialect.Oracle10gDialect +hibernate.show.sql=true +hibernate.hbm2ddl.auto=none + +# facebook provider details +facebook.api.key=1956231277945192 +facebook.api.secret=005d305bfbc76639b24c4f15a370e148 + +# twitter provider details +twitter.api.key=kBcdXhCEQcTE8wz5zxliQCJX6 +twitter.api.secret=6qiXptqIR1rHyWirlK1Alrk2FXiccyOk0dc2paZRUyjkJqI1IL + +# linkedin provider details +linkedin.api.key=75ileo93c5xmr5 +linkedin.api.secret=pUdw0kH9ggnj9QQE + +# google provider details +google.api.key=463154592024-iht57o90m3n3f13mk40jddumv22i6nj3.apps.googleusercontent.com +google.api.secret=8l3t8aeJUeyubwarJ_OBtfCd + +Globals.fileStorePath = C:/egovframework/upload/File/ +Globals.SynchrnServerPath = C:/egovframework/upload/Synch/ +system.uploadpath = C:/egovframework/upload/ FishEye: Tag 879280b2292b26d04b9f1b9cb1c8bcb822855709 refers to a dead (removed) revision in file `standard/project/web/profiles/operation/database.properties'. FishEye: No comparison available. Pass `N' to diff? FishEye: Tag 879280b2292b26d04b9f1b9cb1c8bcb822855709 refers to a dead (removed) revision in file `standard/project/web/profiles/operation/socialProviders.properties'. FishEye: No comparison available. Pass `N' to diff? Index: standard/project/web/profiles/operation/support.properties =================================================================== diff -u --- standard/project/web/profiles/operation/support.properties (revision 0) +++ standard/project/web/profiles/operation/support.properties (revision 879280b2292b26d04b9f1b9cb1c8bcb822855709) @@ -0,0 +1,30 @@ +# Database configuration props +database.driver=oracle.jdbc.driver.OracleDriver +database.url=jdbc:oracle:thin:@db.313.co.kr:1521:orcl +database.username=OPERATION_DB +database.password=OPERATION_DB_1234 + +# hibernate props +hibernate.dialect=org.hibernate.dialect.Oracle10gDialect +hibernate.show.sql=true +hibernate.hbm2ddl.auto=none + +# facebook provider details +facebook.api.key=1956209994613987 +facebook.api.secret=5a123e748228cb7cbbd1bda69a56ca68 + +# twitter provider details +twitter.api.key=kBcdXhCEQcTE8wz5zxliQCJX6 +twitter.api.secret=6qiXptqIR1rHyWirlK1Alrk2FXiccyOk0dc2paZRUyjkJqI1IL + +# linkedin provider details +linkedin.api.key=75ileo93c5xmr5 +linkedin.api.secret=pUdw0kH9ggnj9QQE + +# google provider details +google.api.key=463154592024-iht57o90m3n3f13mk40jddumv22i6nj3.apps.googleusercontent.com +google.api.secret=8l3t8aeJUeyubwarJ_OBtfCd + +Globals.fileStorePath = /web/upload/File/ +Globals.SynchrnServerPath = /web/upload/Synch/ +system.uploadpath = /web/upload/ \ No newline at end of file Index: standard/project/web/src/main/java/egovframework/com/cmm/web/EgovFileDownloadController.java =================================================================== diff -u -r361f605a7d9e994eaf3ed6b36a04ed610e3bf0f7 -r879280b2292b26d04b9f1b9cb1c8bcb822855709 --- standard/project/web/src/main/java/egovframework/com/cmm/web/EgovFileDownloadController.java (.../EgovFileDownloadController.java) (revision 361f605a7d9e994eaf3ed6b36a04ed610e3bf0f7) +++ standard/project/web/src/main/java/egovframework/com/cmm/web/EgovFileDownloadController.java (.../EgovFileDownloadController.java) (revision 879280b2292b26d04b9f1b9cb1c8bcb822855709) @@ -1,29 +1,21 @@ package egovframework.com.cmm.web; -import java.io.BufferedInputStream; -import java.io.BufferedOutputStream; -import java.io.File; -import java.io.FileInputStream; -import java.io.IOException; -import java.io.PrintWriter; -import java.net.URLEncoder; -import java.util.Map; - import egovframework.com.cmm.service.EgovFileMngService; import egovframework.com.cmm.service.FileVO; import egovframework.com.cmm.util.EgovBasicLogger; import egovframework.com.cmm.util.EgovResourceCloseHelper; -import egovframework.com.cmm.util.EgovUserDetailsHelper; - -import javax.annotation.Resource; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - import org.springframework.stereotype.Controller; import org.springframework.util.FileCopyUtils; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.io.*; +import java.net.URLEncoder; +import java.util.Map; + /** * 파일 다운로드를 위한 컨트롤러 클래스 * @author 공통서비스개발팀 이삼섭 @@ -125,9 +117,9 @@ String atchFileId = (String) commandMap.get("atchFileId"); String fileSn = (String) commandMap.get("fileSn"); - Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated(); + //Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated(); - if (isAuthenticated) { + //if (isAuthenticated) { FileVO fileVO = new FileVO(); fileVO.setAtchFileId(atchFileId); @@ -183,6 +175,6 @@ printwriter.flush(); printwriter.close(); } - } + //} } } Index: standard/project/web/src/main/resources/egovframework/egovProps/globals.properties =================================================================== diff -u -r11819ef1f2c146fdbf43894110b26071de2a5040 -r879280b2292b26d04b9f1b9cb1c8bcb822855709 --- standard/project/web/src/main/resources/egovframework/egovProps/globals.properties (.../globals.properties) (revision 11819ef1f2c146fdbf43894110b26071de2a5040) +++ standard/project/web/src/main/resources/egovframework/egovProps/globals.properties (.../globals.properties) (revision 879280b2292b26d04b9f1b9cb1c8bcb822855709) @@ -45,3 +45,7 @@ # google provider details google.api.key=${google.api.key} google.api.secret=${google.api.secret} + +Globals.fileStorePath = C:/egovframework/upload/ +Globals.SynchrnServerPath = C:/egovframework/upload/Synch/ +system.uploadpath = C:/egovframework/upload/ \ No newline at end of file Index: standard/project/web/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleRegist.jsp =================================================================== diff -u -r99909d3fbc0a5b934c4cd6171c67921a52f475d0 -r879280b2292b26d04b9f1b9cb1c8bcb822855709 --- standard/project/web/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleRegist.jsp (.../EgovArticleRegist.jsp) (revision 99909d3fbc0a5b934c4cd6171c67921a52f475d0) +++ standard/project/web/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleRegist.jsp (.../EgovArticleRegist.jsp) (revision 879280b2292b26d04b9f1b9cb1c8bcb822855709) @@ -235,7 +235,7 @@ - + - + Index: standard/project/web/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleUpdt.jsp =================================================================== diff -u -r99909d3fbc0a5b934c4cd6171c67921a52f475d0 -r879280b2292b26d04b9f1b9cb1c8bcb822855709 --- standard/project/web/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleUpdt.jsp (.../EgovArticleUpdt.jsp) (revision 99909d3fbc0a5b934c4cd6171c67921a52f475d0) +++ standard/project/web/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleUpdt.jsp (.../EgovArticleUpdt.jsp) (revision 879280b2292b26d04b9f1b9cb1c8bcb822855709) @@ -228,7 +228,7 @@ - +