- 浏览: 149483 次
- 性别:
- 来自: 成都
文章分类
最新评论
-
fqdao:
请教一个问题。我现在有一个 建立基于UDP的Socket连接- ...
也来谈谈CFRunLoop(NSRunLoop) -
idision:
try {
setValu ...
Spring MVC 传入Date 为空时 的处理方式 -
fengzgxing:
写得很好,学习学习
让Play!Framework运行在OpenShift上 -
空谷悠悠:
Strengthen their own execution ...
发现我很失败 -
qesc:
想知道,楼主调试CURL模拟登陆邮件的时候,用了哪些方便的软件 ...
使用curl获取google联系人列表 (向zend的Gdata say no)
[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 MVC + Spring + Hibernate 全注解整合开发视频教程 09" 提供了一次深入了解Java企业级应用开发的机会,特别是在使用Spring MVC、Spring和Hibernate这三大核心框架进行全注解配置的场景下。...
**CAS (Central Authentication Service)** 是一个开源的身份验证框架,主要功能是提供统一的用户身份验证服务,允许用户在多个应用系统中只需要登录一次即可访问所有相互信任的应用。CAS的核心概念包括服务提供商和...
在"Spring快速入门教程.pdf"中,你将深入学习如何创建第一个Spring项目,配置Bean,使用AOP,搭建Spring MVC应用,以及如何整合Spring Boot和Spring Cloud。通过实际操作,你会对Spring有更直观的理解,并能迅速上手...
7. **Spring Cloud**:在微服务架构中,Spring Cloud为开发者提供了配置管理、服务发现、断路器、智能路由、微代理、控制总线、一次性令牌、全局锁、领导选举、分布式会话、集群状态等功能。 8. **Spring Security*...
4. **配置Spring**:编写spring-context.xml,定义Bean的实例化和依赖关系。 5. **配置Spring MVC**:编写spring-mvc.xml,设置DispatcherServlet、视图解析器、拦截器等。 6. **配置MyBatis**:创建mybatis-config....
- **Lazily-instantiated beans**: 延迟加载Bean,直到第一次请求时才初始化。 - **Autowiring collaborators**: 自动装配协作对象,简化了配置。 - **Checking for dependencies**: 检查Bean是否存在未满足的依赖。...
- 单例:对于`BeanFactory`,在第一次调用`getBean()`时创建;对于`ApplicationContext`,在创建容器时创建。通过`lazy-init="true"`属性,可以在`ApplicationContext`中延迟单例Bean的初始化。 10. 自动装配...
Spring Cloud 是一个基于 Spring Boot 的微服务框架,它简化了分布式系统中的一些常见模式的开发,如配置管理、服务发现、断路器、智能路由、微批处理、一次性任务执行等。Spring Cloud 旨在为开发者提供快速构建...
Spring Cloud 是一个基于 Spring Boot 实现的云应用开发工具集,它为开发者提供了在分布式系统(如配置管理、服务发现、断路器、智能路由、微代理、控制总线、一次性令牌、全局锁、领导选举、分布式会话、集群状态)...
`scheduleAtFixedRate` 方法的第一个参数是要执行的任务,第二个参数是任务首次执行的延迟时间(在这里是 `d1`,即每天的14:17),第三个参数是任务执行的周期(24小时)。 【Spring定时器】 Spring框架提供了更...
- **轻量级**:Spring框架体积小、资源占用低,可以作为一个独立的组件运行于不同的服务器环境,体现了“一次编写,到处运行”的理念。 - **控制反转(IoC)**:IoC是Spring的核心特性之一,通过让对象的依赖关系由...
- **特点**:延迟加载,即当第一次调用`getBean()`方法时才会创建Bean实例。 - **ApplicationContext**:扩展了BeanFactory的功能,增加了国际化、事件发布等功能,通常作为Web应用的前端控制器。 - **实现类**:`...
BeanFactory是延迟加载的,这意味着它只在第一次请求某个Bean时才初始化该Bean。 - **ApplicationContext**:ApplicationContext继承自BeanFactory,它提供了更丰富的功能,如国际化支持、事件传播机制等。...
- **懒汉式**:在第一次调用时才实例化。 ```java public class Singleton { private static Singleton single = null; private Singleton() {} public static synchronized Singleton getInstance() { if ...
- **使用Spring管理POI对象:** 在Spring容器中定义POI相关的Bean,通过Spring进行对象的实例化和管理。 - **整合到Spring MVC项目中:** 在Web层使用Spring MVC来接收前端上传的Excel文件,然后利用POI进行解析和处理...
在本套"传智播客 燕青 spring_2016 视频教程 第3天"中,燕青老师深入浅出地讲解了Spring框架的核心知识与实践技巧,这是针对2016年版的Spring技术进行的一次详细教学。教程内容丰富,旨在帮助学员快速掌握Spring框架...
当你在 JSP 页面中使用 `spring:bind` 标签时,`BindStatus` 就会被实例化并传递给标签,以便获取和展示相关数据。以下是 `BindStatus` 中几个重要的属性及其用法: 1. `${status.expression}`: 这个属性返回绑定...
5. **单例模式(Singleton)**:Spring AOP中的`SingletonTargetSource`保证了每个目标对象只被创建一次,实现了单例模式,确保在整个应用程序中只有一个共享的实例存在,提高了资源利用效率。 6. **适配器模式...