Index: development-project/project-standard/standard-server/src/main/java/egovframework/com/uss/ion/fbk/web/EgovFacebookController.java =================================================================== diff -u -r4bb1c91d523a0051f87344908936f42c8661dc03 -r950698e36269991270507f23e351d6c24b62ef83 --- development-project/project-standard/standard-server/src/main/java/egovframework/com/uss/ion/fbk/web/EgovFacebookController.java (.../EgovFacebookController.java) (revision 4bb1c91d523a0051f87344908936f42c8661dc03) +++ development-project/project-standard/standard-server/src/main/java/egovframework/com/uss/ion/fbk/web/EgovFacebookController.java (.../EgovFacebookController.java) (revision 950698e36269991270507f23e351d6c24b62ef83) @@ -118,14 +118,8 @@ if (StringUtils.equals(resultString, "needTheNickname")) { request.getSession().setAttribute("resultString", "needTheNickname"); //return "egovframework/com/uss/ion/fbk/EgovFacebookHome"; - - springSecurityProcess(connection); - } else if (StringUtils.equals(resultString, "joinedAccount")) { request.getSession().setAttribute("resultString", "joinedAccount"); - - springSecurityProcess(connection); - //return "egovframework/com/uss/ion/fbk/EgovFacebookHome"; } else { request.getSession().setAttribute("resultString", "insertAccount"); @@ -134,13 +128,6 @@ return "redirect:/index.html"; } - private void springSecurityProcess(Connection connection) { - SecurityContextHolder.getContext().setAuthentication( - new UsernamePasswordAuthenticationToken( - connection.getDisplayName(), null, - Arrays.asList(new SimpleGrantedAuthority("ROLE_USER")))); - } - /** * facebook 담벼락 목록을 보여준다. * Index: development-project/project-standard/standard-server/src/main/resources/egovframework/egovProps/globals.properties =================================================================== diff -u -r949cf1c1ace3bec1ccd4a06c10f5a87ca5279edd -r950698e36269991270507f23e351d6c24b62ef83 --- development-project/project-standard/standard-server/src/main/resources/egovframework/egovProps/globals.properties (.../globals.properties) (revision 949cf1c1ace3bec1ccd4a06c10f5a87ca5279edd) +++ development-project/project-standard/standard-server/src/main/resources/egovframework/egovProps/globals.properties (.../globals.properties) (revision 950698e36269991270507f23e351d6c24b62ef83) @@ -128,11 +128,11 @@ ftp.user.password = test # Social(Facebook, Oauth \ucef4\ud3ec\ub10c\ud2b8 \uc0ac\uc6a9\uc2dc \ud65c\uc6a9) -#facebook.appId = 1956231277945192 -#facebook.appSecret = 005d305bfbc76639b24c4f15a370e148 +facebook.appId = 1956231277945192 +facebook.appSecret = 005d305bfbc76639b24c4f15a370e148 #below operation -facebook.appId = 1956209994613987 -facebook.appSecret = 5a123e748228cb7cbbd1bda69a56ca68 +#facebook.appId = 1956209994613987 +#facebook.appSecret = 5a123e748228cb7cbbd1bda69a56ca68 twitter.consumerKey = N/A twitter.consumerSecret = N/A