Spring MVC 第一次訪問例項化過程
[DEBUG,FilterChainProxy,http-8080-1] Converted URL to lowercase, from: '/index.jsp'; to: '/index.jsp'
[DEBUG,FilterChainProxy,http-8080-1] Candidate is: '/index.jsp'; pattern is /**; matched=true
[DEBUG,FilterChainProxy,http-8080-1] /index.jsp at position 1 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.context.SecurityContextPersistenceFilter@46f5331a'
[DEBUG,HttpSessionSecurityContextRepository,http-8080-1] No HttpSession currently exists
[DEBUG,HttpSessionSecurityContextRepository,http-8080-1] No SecurityContext was available from the HttpSession: null. A new one will be created.
[DEBUG,FilterChainProxy,http-8080-1] /index.jsp at position 2 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.authentication.logout.LogoutFilter@46fb3d6'
[DEBUG,FilterChainProxy,http-8080-1] /index.jsp at position 3 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@4187a8e0'
[DEBUG,FilterChainProxy,http-8080-1] /index.jsp at position 4 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.authentication.www.BasicAuthenticationFilter@31602bbc'
[DEBUG,FilterChainProxy,http-8080-1] /index.jsp at position 5 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.savedrequest.RequestCacheAwareFilter@20d75cf7'
[DEBUG,FilterChainProxy,http-8080-1] /index.jsp at position 6 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@1b186cf9'
[DEBUG,FilterChainProxy,http-8080-1] /index.jsp at position 7 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter@61316264'
[DEBUG,FilterChainProxy,http-8080-1] /index.jsp at position 8 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.authentication.AnonymousAuthenticationFilter@7132c515'
[DEBUG,AnonymousAuthenticationFilter,http-8080-1] Populated SecurityContextHolder with anonymous token: 'org.springframework.security.authentication.AnonymousAuthenticationToken@9055c2bc: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@b364: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS'
[DEBUG,FilterChainProxy,http-8080-1] /index.jsp at position 9 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.session.SessionManagementFilter@3c291fc2'
[DEBUG,FilterChainProxy,http-8080-1] /index.jsp at position 10 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.access.ExceptionTranslationFilter@2fe41869'
[DEBUG,FilterChainProxy,http-8080-1] /index.jsp at position 11 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.access.intercept.FilterSecurityInterceptor@27feae0f'
[DEBUG,DefaultFilterInvocationSecurityMetadataSource,http-8080-1] Converted URL to lowercase, from: '/index.jsp'; to: '/index.jsp'
[DEBUG,DefaultFilterInvocationSecurityMetadataSource,http-8080-1] Candidate is: '/index.jsp'; pattern is /; matched=false
[DEBUG,DefaultFilterInvocationSecurityMetadataSource,http-8080-1] Candidate is: '/index.jsp'; pattern is /index.jsp; matched=true
[DEBUG,FilterSecurityInterceptor,http-8080-1] Secure object: FilterInvocation: URL: /index.jsp; Attributes: [IS_AUTHENTICATED_ANONYMOUSLY]
[DEBUG,FilterSecurityInterceptor,http-8080-1] Previously Authenticated: org.springframework.security.authentication.AnonymousAuthenticationToken@9055c2bc: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@b364: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS
[DEBUG,AffirmativeBased,http-8080-1] Voter: org.springframework.security.access.vote.RoleVoter@2ec50561, returned: 0
[DEBUG,AffirmativeBased,http-8080-1] Voter: org.springframework.security.access.vote.AuthenticatedVoter@8e43b44, returned: 1
[DEBUG,FilterSecurityInterceptor,http-8080-1] Authorization successful
[DEBUG,DefaultListableBeanFactory,http-8080-1] Returning cached instance of singleton bean 'loggerListener'
[DEBUG,FilterSecurityInterceptor,http-8080-1] RunAsManager did not change Authentication object
[DEBUG,FilterChainProxy,http-8080-1] /index.jsp at position 12 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.authentication.switchuser.SwitchUserFilter@3feef1eb'
[DEBUG,FilterChainProxy,http-8080-1] /index.jsp reached end of additional filter chain; proceeding with original chain
[DEBUG,HttpSessionSecurityContextRepository,http-8080-1] SecurityContext contents are anonymous - context will not be stored in HttpSession.
[DEBUG,ExceptionTranslationFilter,http-8080-1] Chain processed normally
[DEBUG,SecurityContextPersistenceFilter,http-8080-1] SecurityContextHolder now cleared, as request processing completed
[DEBUG,FilterChainProxy,http-8080-1] Converted URL to lowercase, from: '/hello.htm'; to: '/hello.htm'
[DEBUG,FilterChainProxy,http-8080-1] Candidate is: '/hello.htm'; pattern is /**; matched=true
[DEBUG,FilterChainProxy,http-8080-1] /hello.htm at position 1 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.context.SecurityContextPersistenceFilter@46f5331a'
[DEBUG,HttpSessionSecurityContextRepository,http-8080-1] HttpSession returned null object for SPRING_SECURITY_CONTEXT
[DEBUG,HttpSessionSecurityContextRepository,http-8080-1] No SecurityContext was available from the HttpSession: org.apache.catalina.session.StandardSessionFacade@2260e277. A new one will be created.
[DEBUG,FilterChainProxy,http-8080-1] /hello.htm at position 2 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.authentication.logout.LogoutFilter@46fb3d6'
[DEBUG,FilterChainProxy,http-8080-1] /hello.htm at position 3 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@4187a8e0'
[DEBUG,FilterChainProxy,http-8080-1] /hello.htm at position 4 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.authentication.www.BasicAuthenticationFilter@31602bbc'
[DEBUG,FilterChainProxy,http-8080-1] /hello.htm at position 5 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.savedrequest.RequestCacheAwareFilter@20d75cf7'
[DEBUG,FilterChainProxy,http-8080-1] /hello.htm at position 6 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@1b186cf9'
[DEBUG,FilterChainProxy,http-8080-1] /hello.htm at position 7 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter@61316264'
[DEBUG,FilterChainProxy,http-8080-1] /hello.htm at position 8 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.authentication.AnonymousAuthenticationFilter@7132c515'
[DEBUG,AnonymousAuthenticationFilter,http-8080-1] Populated SecurityContextHolder with anonymous token: 'org.springframework.security.authentication.AnonymousAuthenticationToken@905571d8: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@0: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: DCB3F2432A9D521334AF8FD10691D141; Granted Authorities: ROLE_ANONYMOUS'
[DEBUG,FilterChainProxy,http-8080-1] /hello.htm at position 9 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.session.SessionManagementFilter@3c291fc2'
[DEBUG,FilterChainProxy,http-8080-1] /hello.htm at position 10 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.access.ExceptionTranslationFilter@2fe41869'
[DEBUG,FilterChainProxy,http-8080-1] /hello.htm at position 11 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.access.intercept.FilterSecurityInterceptor@27feae0f'
[DEBUG,DefaultFilterInvocationSecurityMetadataSource,http-8080-1] Converted URL to lowercase, from: '/hello.htm'; to: '/hello.htm'
[DEBUG,DefaultFilterInvocationSecurityMetadataSource,http-8080-1] Candidate is: '/hello.htm'; pattern is /; matched=false
[DEBUG,DefaultFilterInvocationSecurityMetadataSource,http-8080-1] Candidate is: '/hello.htm'; pattern is /index.jsp; matched=false
[DEBUG,DefaultFilterInvocationSecurityMetadataSource,http-8080-1] Candidate is: '/hello.htm'; pattern is /hello.htm; matched=true
[DEBUG,FilterSecurityInterceptor,http-8080-1] Secure object: FilterInvocation: URL: /hello.htm; Attributes: [IS_AUTHENTICATED_ANONYMOUSLY]
[DEBUG,FilterSecurityInterceptor,http-8080-1] Previously Authenticated: org.springframework.security.authentication.AnonymousAuthenticationToken@905571d8: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@0: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: DCB3F2432A9D521334AF8FD10691D141; Granted Authorities: ROLE_ANONYMOUS
[DEBUG,AffirmativeBased,http-8080-1] Voter: org.springframework.security.access.vote.RoleVoter@2ec50561, returned: 0
[DEBUG,AffirmativeBased,http-8080-1] Voter: org.springframework.security.access.vote.AuthenticatedVoter@8e43b44, returned: 1
[DEBUG,FilterSecurityInterceptor,http-8080-1] Authorization successful
[DEBUG,FilterSecurityInterceptor,http-8080-1] RunAsManager did not change Authentication object
[DEBUG,FilterChainProxy,http-8080-1] /hello.htm at position 12 of 12 in additional filter chain; firing Filter: 'org.springframework.security.web.authentication.switchuser.SwitchUserFilter@3feef1eb'
[DEBUG,FilterChainProxy,http-8080-1] /hello.htm reached end of additional filter chain; proceeding with original chain
[DEBUG,DispatcherServlet,http-8080-1] DispatcherServlet with name 'contacts' determining Last-Modified value for [/springsecurity_contacts/hello.htm]
[DEBUG,DefaultAnnotationHandlerMapping,http-8080-1] Mapping [/hello.htm] to handler 'sample.contact.IndexController@64836727'
[DEBUG,DispatcherServlet,http-8080-1] Last-Modified value for [/springsecurity_contacts/hello.htm] is: -1
[DEBUG,DispatcherServlet,http-8080-1] DispatcherServlet with name 'contacts' processing GET request for [/springsecurity_contacts/hello.htm]
[DEBUG,HandlerMethodInvoker,http-8080-1] Invoking request handler method: public org.springframework.web.servlet.ModelAndView sample.contact.IndexController.displayPublicIndex()
[DEBUG,AnnotationTransactionAttributeSource,http-8080-1] Adding transactional method 'getRandomContact' with attribute: PROPAGATION_REQUIRED,ISOLATION_DEFAULT,readOnly; ''
[DEBUG,DefaultListableBeanFactory,http-8080-1] Returning cached instance of singleton bean 'transactionManager'
[DEBUG,DataSourceTransactionManager,http-8080-1] Creating new transaction with name [sample.contact.ContactManager.getRandomContact]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT,readOnly; ''
[DEBUG,DriverManagerDataSource,http-8080-1] Creating new JDBC DriverManager Connection to [jdbc:hsqldb:mem:test]
[DEBUG,DataSourceTransactionManager,http-8080-1] Acquired Connection [org.hsqldb.jdbc.jdbcConnection@2382815a] for JDBC transaction
[DEBUG,DataSourceUtils,http-8080-1] Setting JDBC Connection [org.hsqldb.jdbc.jdbcConnection@2382815a] read-only
[DEBUG,DataSourceTransactionManager,http-8080-1] Switching JDBC Connection [org.hsqldb.jdbc.jdbcConnection@2382815a] to manual commit
[DEBUG,ContactManagerBackend,http-8080-1] Returning random contact
[DEBUG,JdbcTemplate,http-8080-1] Executing prepared SQL query
[DEBUG,JdbcTemplate,http-8080-1] Executing prepared SQL statement [SELECT id, contact_name, email FROM contacts ORDER BY id]
[DEBUG,DataSourceTransactionManager,http-8080-1] Initiating transaction commit
[DEBUG,DataSourceTransactionManager,http-8080-1] Committing JDBC transaction on Connection [org.hsqldb.jdbc.jdbcConnection@2382815a]
[DEBUG,DataSourceUtils,http-8080-1] Resetting read-only flag of JDBC Connection [org.hsqldb.jdbc.jdbcConnection@2382815a]
[DEBUG,DataSourceTransactionManager,http-8080-1] Releasing JDBC Connection [org.hsqldb.jdbc.jdbcConnection@2382815a] after transaction
[DEBUG,DataSourceUtils,http-8080-1] Returning JDBC Connection to DataSource
[DEBUG,DefaultListableBeanFactory,http-8080-1] Invoking afterPropertiesSet() on bean with name 'hello'
[DEBUG,DispatcherServlet,http-8080-1] Rendering view [org.springframework.web.servlet.view.JstlView: name 'hello'; URL [/WEB-INF/jsp/hello.jsp]] in DispatcherServlet with name 'contacts'
[DEBUG,JstlView,http-8080-1] Added model object 'org.springframework.validation.BindingResult.contact' of type [org.springframework.validation.BeanPropertyBindingResult] to request in view with name 'hello'
[DEBUG,JstlView,http-8080-1] Added model object 'contact' of type [sample.contact.Contact] to request in view with name 'hello'
[DEBUG,JstlView,http-8080-1] Forwarding to resource [/WEB-INF/jsp/hello.jsp] in InternalResourceView 'hello'
[DEBUG,DispatcherServlet,http-8080-1] Successfully completed request
[DEBUG,DefaultListableBeanFactory,http-8080-1] Returning cached instance of singleton bean 'loggerListener'
[DEBUG,ExceptionTranslationFilter,http-8080-1] Chain processed normally
[DEBUG,HttpSessionSecurityContextRepository,http-8080-1] SecurityContext contents are anonymous - context will not be stored in HttpSession.
[DEBUG,SecurityContextPersistenceFilter,http-8080-1] SecurityContextHolder now cleared, as request processing completed
相關文章
- Spring Bean 的例項化過程原始碼解析SpringBean原始碼
- Spring BeanFactory例項化Bean的詳細過程SpringBean
- 面試問爛的 Spring MVC 過程面試SpringMVC
- Spring 原始碼學習 - 單例bean的例項化過程Spring原始碼單例Bean
- Spring Ioc原始碼分析系列--Bean例項化過程(二)Spring原始碼Bean
- Spring Ioc原始碼分析系列--Bean例項化過程(一)Spring原始碼Bean
- 通過驗證訪問ASM例項ASM
- spring mvc即mvc攔截器例項(1)SpringMVC
- Spring MVC之例項初體驗SpringMVC
- Spring MVC framework 執行過程SpringMVCFramework
- Python中類建立和例項化過程Python
- Spring MVC實現過程淺析SpringMVC
- Spring系列(一):Spring MVC bean 解析、註冊、例項化流程原始碼剖析SpringMVCBean原始碼
- Spring MVC原始碼(一) ----- 啟動過程與元件初始化SpringMVC原始碼元件
- Spring MVC 啟動過程原始碼分析SpringMVC原始碼
- Fabric1.4原始碼解析:鏈碼例項化過程原始碼
- Spring原始碼淺析之bean例項的建立過程(一)Spring原始碼Bean
- Spring原始碼淺析之bean例項的建立過程(二)Spring原始碼Bean
- 網站訪問過程&HTML網站HTML
- Spring ScheduleTask和bean2次例項化問題SpringBean
- 物件的例項化、記憶體佈局以及訪問定位物件記憶體
- vue 快速入門 系列 —— Vue 例項的初始化過程Vue
- spring mvc 的jpa JpaRepository資料層訪問SpringMVC
- 需求過程化分析方法-例項分享
- mysql 儲存過程簡單例項MySql儲存過程單例
- PHP呼叫MYSQL儲存過程例項PHPMySql儲存過程
- mysql儲存過程簡單例項MySql儲存過程單例
- 記憶體訪問全過程記憶體
- 11GR2 Active Duplicate過程(單例項對單例項)單例
- 遠端客戶端 訪問 ASM 例項客戶端ASM
- MySQL利用FREDATED實現跨例項訪問MySql
- Docker的通俗理解和透過宿主機埠訪問Redis容器的例項DockerRedis
- vue 原始碼學習(二) 例項初始化和掛載過程Vue原始碼
- vue 原始碼學習(二) 例項初始化和掛載過程Vue原始碼
- 手寫Spring MVC框架(二) 實現訪問攔截功能SpringMVC框架
- mysql例項停止、啟動、配置遠端訪問MySql
- ORACLE事務和例項恢復過程梳理Oracle
- mysql儲存過程經典例項詳解MySql儲存過程