TerryChang / spring_security_blog_sample

My Blog(zgundam.tistory.com) Sample for Spring Security
7 stars 5 forks source link

404에러가 나오는데 #1

Open SLJ2920W opened 9 years ago

SLJ2920W commented 9 years ago

스프링 시큐리티 배우는데 많은 도움이 되었습니다

근데 소스를 실행 해서 주소창에 /springsecurity/main.do 치면 404에러가 나옵니다

톰캣 실행 하면 별다른 에러는 안나오고

WARN o.s.s.config.http.DefaultFilterChainValidator - Possible error: Filters at position 10 and 11 are both instances of org.springframework.security.web.access.intercept.FilterSecurityInterceptor

이런 로그가 나오네요 그외 별다른 에러나 경고 문구도 없습니다..

왜 이런 문제가 발생 하는걸까요 ㅠㅠ

TerryChang commented 9 years ago

p {margin-top:0px;margin-bottom:0px;}

안녕하세요..답변이 늦어서 정말 죄송합니다..메일은 이미 진작에 받아놓고는 있었는데..제가 한창 프로젝트 중이어서 제가 바로 답변을 드릴수가 없었네요..프로젝트가 저번주 금요일부로 종료가 되어서 이제서야 메일에 대한 답변을 드리네요..일단 제가 컴을 다시 밀고 STS부터 다시 설치해서 테스트해보았으나 저에게는 별 문제가 없었습니다..어떻게 셋팅하셨는지 셋팅 과정을 알수가 없어서 머라 답변 드리기가 어렵고../springsecurity/main.do를 하셨다고 하셨는데..제가 github에 남긴 내용을 보시면 context path를 root(/)로 잡으신걸 아실겁니다..일단 STS에서 project의 context path를 root로 잡아보세요..그것때문이라고 보기는 어렵지만 일단 저랑 차이가 나는 부분이 그 부분뿐이 안보여서요..또 WAS 기동시 DB를 조회하는 부분도 있기 때문에 DB 접속정보에 대한 확인도 부탁드립니다..그리고 로그가 그것만 나온다는 것도 좀 이해하기 어려운데요..일단 제 프로젝트에서 찍히는 로그를 보여드리면 다음과 같이 나옵니다..12월 14, 2014 11:16:28 오후 org.apache.catalina.core.AprLifecycleListener init정보: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.7.0_71\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.7.0_71\jre\bin;D:\Oracle\app\oracle\product\11.2.0\server\bin;;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files\Bandizip\7z;.12월 14, 2014 11:16:28 오후 org.apache.tomcat.util.digester.SetPropertiesRule begin경고: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:springsecurity' did not find a matching property.12월 14, 2014 11:16:28 오후 org.apache.coyote.AbstractProtocol init정보: Initializing ProtocolHandler ["http-bio-8080"]12월 14, 2014 11:16:28 오후 org.apache.coyote.AbstractProtocol init정보: Initializing ProtocolHandler ["ajp-bio-8009"]12월 14, 2014 11:16:28 오후 org.apache.catalina.startup.Catalina load정보: Initialization processed in 1061 ms12월 14, 2014 11:16:29 오후 org.apache.catalina.core.StandardService startInternal정보: Starting service Catalina12월 14, 2014 11:16:29 오후 org.apache.catalina.core.StandardEngine startInternal정보: Starting Servlet Engine: Apache Tomcat/7.0.5012월 14, 2014 11:16:33 오후 org.apache.tomcat.jdbc.pool.ConnectionPool init경고: maxIdle is larger than maxActive, setting maxIdle to: 1012월 14, 2014 11:16:33 오후 org.apache.catalina.core.ApplicationContext log정보: No Spring WebApplicationInitializer types detected on classpath12월 14, 2014 11:16:33 오후 org.apache.catalina.core.ApplicationContext log정보: Initializing Spring root WebApplicationContextINFO  org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization startedINFO  o.s.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Sun Dec 14 23:16:34 KST 2014]; root of context hierarchyINFO  o.s.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/spring/root-context.xml]INFO  o.s.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/spring/spring-security.xml]INFO  o.s.security.core.SpringSecurityCoreVersion - You are running with Spring Security Core 3.2.4.RELEASEINFO  o.s.security.config.SecurityNamespaceHandler - Spring Security 'config' module version is 3.2.4.RELEASEINFO  o.s.s.config.http.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, Root bean: class [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 400, Root bean: class [org.springframework.security.web.authentication.logout.LogoutFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 700, <org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0>, order = 1100, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1500, Root bean: class [org.springframework.security.web.savedrequest.RequestCacheAwareFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1600, Root bean: class [org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1700, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2000, Root bean: class [org.springframework.security.web.session.SessionManagementFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2100, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 2200, , order = 2299, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 2300]INFO  o.s.b.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@4cda814e: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,dataSource,logDataSourcepos,sqlSessionFactory,sqlSession,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,messageSource,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,org.springframework.security.web.DefaultSecurityFilterChain#0,org.springframework.security.web.DefaultSecurityFilterChain#1,org.springframework.security.web.DefaultSecurityFilterChain#2,org.springframework.security.web.PortMapperImpl#0,org.springframework.security.web.PortResolverImpl#0,org.springframework.security.config.authentication.AuthenticationManagerFactoryBean#0,org.springframework.security.authentication.ProviderManager#0,org.springframework.security.web.context.HttpSessionSecurityContextRepository#0,org.springframework.security.web.authentication.session.CompositeSessionAuthenticationStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0,org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator#0,org.springframework.security.authentication.AnonymousAuthenticationProvider#0,org.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint#0,org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0,org.springframework.security.userDetailsServiceFactory,org.springframework.security.web.DefaultSecurityFilterChain#3,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,filterSecurityInterceptor,accessDecisionManager,customJdbcDaoImpl,customAuthenticationSuccessHandler,customAuthenticationFailureHandler,bcryptPasswordEncoder,reloadableFilterInvocationSecurityMetadataSource,securedObjectService,securedObjectDao,requestMap,accessDenied,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchyDEBUG c.t.s.common.mybatis.CustomSqlSessionFactoryBean - Parsed configuration file: 'class path resource [com/terry/springsecurity/resources/mybatis/config/mybatis-config.xml]'DEBUG c.t.s.common.mybatis.CustomSqlSessionFactoryBean - Parsed mapper file: 'file [C:\Users\TerryChang\AppData\Local\Temp\0-ROOT\WEB-INF\classes\com\terry\springsecurity\resources\mybatis\mapper\member1board.xml]'DEBUG c.t.s.common.mybatis.CustomSqlSessionFactoryBean - Parsed mapper file: 'file [C:\Users\TerryChang\AppData\Local\Temp\0-ROOT\WEB-INF\classes\com\terry\springsecurity\resources\mybatis\mapper\member2board.xml]'DEBUG c.t.s.common.mybatis.CustomSqlSessionFactoryBean - Parsed mapper file: 'file [C:\Users\TerryChang\AppData\Local\Temp\0-ROOT\WEB-INF\classes\com\terry\springsecurity\resources\mybatis\mapper\notmemberboard.xml]'INFO  o.s.security.web.DefaultSecurityFilterChain - Creating filter chain: Ant [pattern='/*/.js'], []INFO  o.s.security.web.DefaultSecurityFilterChain - Creating filter chain: Ant [pattern='/**/.css'], []INFO  o.s.security.web.DefaultSecurityFilterChain - Creating filter chain: Ant [pattern='/images/_'], []INFO  jdbc.sqltiming - SELECT A.RESOURCE_PATTERN AS URL, B.AUTHORITY AS AUTHORITY        FROM SECURED_RESOURCES A, SECURED_RESOURCES_AUTHORITY B        WHERE A.RESOURCE_ID = B.RESOURCE_ID        AND A.RESOURCE_TYPE = 'url'        ORDER BY A.SORTORDER {executed in 12 msec}DEBUG o.s.s.w.access.intercept.FilterSecurityInterceptor - Validated configuration attributesDEBUG o.s.s.w.access.intercept.FilterSecurityInterceptor - Validated configuration attributesINFO  o.s.security.web.DefaultSecurityFilterChain - Creating filter chain: org.springframework.security.web.util.matcher.AnyRequestMatcher@1, [org.springframework.security.web.context.SecurityContextPersistenceFilter@69253c0a, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@b88ea74, org.springframework.security.web.authentication.logout.LogoutFilter@49d86b96, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@1f7f6aba, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@6637e97d, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@60c241f8, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@71793268, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4bdc840b, org.springframework.security.web.session.SessionManagementFilter@7a611515, org.springframework.security.web.access.ExceptionTranslationFilter@7baf5477, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@33d29011, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@44f066ab]INFO  o.s.s.config.http.DefaultFilterChainValidator - Checking whether login URL '/login.do' is accessible with your configurationDEBUG o.s.s.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/login.do'; against '/*/.js'DEBUG o.s.s.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/login.do'; against '/**/.css'DEBUG o.s.s.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/login.do'; against '/images/'DEBUG o.s.s.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/login.do'; against '/notmember/'DEBUG o.s.s.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/login.do'; against '/admin/'DEBUG o.s.s.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/login.do'; against '/member1/'DEBUG o.s.s.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/login.do'; against '/member2/'DEBUG o.s.s.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/login.do'; against '/main.do'DEBUG o.s.s.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/login.do'; against '/login.do'DEBUG o.s.security.access.vote.AffirmativeBased - Voter: org.springframework.security.access.vote.RoleVoter@5ea4f27a, returned: 1WARN  o.s.s.config.http.DefaultFilterChainValidator - Possible error: Filters at position 10 and 11 are both instances of org.springframework.security.web.access.intercept.FilterSecurityInterceptorINFO  org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 3745 msINFO  org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'appServlet': initialization startedINFO  o.s.web.context.support.XmlWebApplicationContext - Refreshing WebApplicationContext for namespace 'appServlet-servlet': startup date [Sun Dec 14 23:16:37 KST 2014]; parent: Root WebApplicationContextINFO  o.s.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/spring/servlet-context.xml]12월 14, 2014 11:16:37 오후 org.apache.catalina.core.ApplicationContext log정보: Initializing Spring FrameworkServlet 'appServlet'INFO  o.s.b.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@343f8682: defining beans [admin,common,login,main,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,mvcContentNegotiationManager,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0,org.springframework.format.support.FormattingConversionServiceFactoryBean#0,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0,org.springframework.web.servlet.handler.MappedInterceptor#0,org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0,org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0,org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0,org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping,org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter,org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter,org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0,org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0,org.springframework.web.servlet.view.InternalResourceViewResolver#0,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@4cda814eINFO  o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/admin/ajaxTest],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.terry.springsecurity.controller.Admin.ajaxTest(java.lang.String,java.lang.String)INFO  o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/admin/passwordEncoder],methods=[GET || POST],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.terry.springsecurity.controller.Admin.passwordEncoder(java.lang.String,org.springframework.ui.Model)INFO  o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/common/access_denied2],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.terry.springsecurity.controller.Common.access_denied2()INFO  o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/common/access_denied],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.terry.springsecurity.controller.Common.accessdenied()INFO  o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/common/passwordEncoder],methods=[GET || POST],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.terry.springsecurity.controller.Common.passwordEncoder(java.lang.String,org.springframework.ui.Model)INFO  o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/login],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.terry.springsecurity.controller.Login.login() throws java.lang.ExceptionINFO  o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/notlogin],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.terry.springsecurity.controller.Login.notlogin() throws java.lang.ExceptionINFO  o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/main],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.terry.springsecurity.controller.Main.main() throws java.lang.ExceptionINFO  o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/] onto handler 'org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0'INFO  org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'appServlet': initialization completed in 915 ms12월 14, 2014 11:16:38 오후 org.apache.coyote.AbstractProtocol start정보: Starting ProtocolHandler ["http-bio-8080"]12월 14, 2014 11:16:38 오후 org.apache.coyote.AbstractProtocol start정보: Starting ProtocolHandler ["ajp-bio-8009"]12월 14, 2014 11:16:38 오후 org.apache.catalina.startup.Catalina start정보: Server startup in 9735 msDEBUG o.s.s.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/'; against '//.js'DEBUG o.s.s.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/'; against '//.css'DEBUG o.s.s.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/'; against '/images/'DEBUG org.springframework.security.web.FilterChainProxy - / at position 1 of 12 in additional filter chain; firing Filter: 'SecurityContextPersistenceFilter'DEBUG o.s.s.w.c.HttpSessionSecurityContextRepository - No HttpSession currently existsDEBUG o.s.s.w.c.HttpSessionSecurityContextRepository - No SecurityContext was available from the HttpSession: null. A new one will be created.DEBUG org.springframework.security.web.FilterChainProxy - / at position 2 of 12 in additional filter chain; firing Filter: 'WebAsyncManagerIntegrationFilter'DEBUG org.springframework.security.web.FilterChainProxy - / at position 3 of 12 in additional filter chain; firing Filter: 'LogoutFilter'DEBUG org.springframework.security.web.FilterChainProxy - / at position 4 of 12 in additional filter chain; firing Filter: 'UsernamePasswordAuthenticationFilter'DEBUG org.springframework.security.web.FilterChainProxy - / at position 5 of 12 in additional filter chain; firing Filter: 'BasicAuthenticationFilter'DEBUG org.springframework.security.web.FilterChainProxy - / at position 6 of 12 in additional filter chain; firing Filter: 'RequestCacheAwareFilter'DEBUG org.springframework.security.web.FilterChainProxy - / at position 7 of 12 in additional filter chain; firing Filter: 'SecurityContextHolderAwareRequestFilter'DEBUG org.springframework.security.web.FilterChainProxy - / at position 8 of 12 in additional filter chain; firing Filter: 'AnonymousAuthenticationFilter'DEBUG o.s.s.w.a.AnonymousAuthenticationFilter - Populated SecurityContextHolder with anonymous token: 'org.springframework.security.authentication.AnonymousAuthenticationToken@97313b2f: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null; Granted Authorities: ANONYMOUS'DEBUG org.springframework.security.web.FilterChainProxy - / at position 9 of 12 in additional filter chain; firing Filter: 'SessionManagementFilter'DEBUG org.springframework.security.web.FilterChainProxy - / at position 10 of 12 in additional filter chain; firing Filter: 'ExceptionTranslationFilter'DEBUG org.springframework.security.web.FilterChainProxy - / at position 11 of 12 in additional filter chain; firing Filter: 'FilterSecurityInterceptor'DEBUG o.s.s.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/'; against '/notmember/'DEBUG o.s.s.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/'; against '/admin/'DEBUG o.s.s.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/'; against '/member1/'DEBUG o.s.s.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/'; against '/member2/*'DEBUG o.s.s.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/'; against '/main.do'DEBUG o.s.s.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/'; against '/login.do'DEBUG o.s.s.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/'; against '/common/**'DEBUG o.s.s.w.access.intercept.FilterSecurityInterceptor - Public object - authentication not attemptedDEBUG org.springframework.security.web.FilterChainProxy - / at position 12 of 12 in additional filter chain; firing Filter: 'FilterSecurityInterceptor'DEBUG org.springframework.security.web.FilterChainProxy - / reached end of additional filter chain; proceeding with original chainDEBUG o.s.s.w.c.HttpSessionSecurityContextRepository - SecurityContext is empty or contents are anonymous - context will not be stored in HttpSession.DEBUG o.s.security.web.access.ExceptionTranslationFilter - Chain processed normallyDEBUG o.s.s.web.context.SecurityContextPersistenceFilter - SecurityContextHolder now cleared, as request processing completed이 정도로 길게 나오거든요..답장도 늦은데다 별 도움도 못되어서 죄송합니다..ㅠㅠ..p {font-size:10pt ! important;font-family:돋움,'굴림',gulim,tahoma,sans-serif ! important;}

SLJ2920W commented 9 years ago

이상하게 오늘 다시 해보니까 되네요..수정한것도 없는데 흠.. 아 그리고 블로그 글 정말 잘봤습니다 정말 많은 도움이 되었어요 ^^ 수고하세요!!~