diff --git a/basic/pom.xml b/basic/pom.xml index 4dac11fa..9bd80f72 100644 --- a/basic/pom.xml +++ b/basic/pom.xml @@ -33,7 +33,6 @@ ws-outbound-gateway xml xmpp - xquery diff --git a/intermediate/pom.xml b/intermediate/pom.xml index c4317719..425146c4 100644 --- a/intermediate/pom.xml +++ b/intermediate/pom.xml @@ -18,6 +18,7 @@ errorhandling file-processing multipart-http + rest-http splitter-aggregator-reaper stored-procedures-derby tcp-client-server-multiplex diff --git a/intermediate/rest-http/pom.xml b/intermediate/rest-http/pom.xml index 13874926..dcd9dffa 100644 --- a/intermediate/rest-http/pom.xml +++ b/intermediate/rest-http/pom.xml @@ -18,9 +18,9 @@ 3.1.3.RELEASE 1.2 1.3.2 - 1.2.16 + 1.2.17 2.5 - 4.8.1 + 4.11 1.7 2.2 @@ -137,6 +137,7 @@ org.apache.maven.plugins maven-compiler-plugin + 3.0 1.6 1.6 @@ -148,7 +149,7 @@ org.apache.maven.plugins maven-antrun-plugin - 1.6 + 1.7 clean @@ -174,6 +175,52 @@ + + maven-surefire-plugin + 2.14 + + + default-test + + + **/*Test*.java + + + + + default-integration-test + integration-test + + test + + + + none + + + **/*Test.java + + + + + + + org.apache.tomcat.maven + tomcat7-maven-plugin + 2.1 + + true + + + + run-tomcat + pre-integration-test + + run + + + + diff --git a/intermediate/rest-http/readme.md b/intermediate/rest-http/readme.md index 8071cbd9..ed65de67 100644 --- a/intermediate/rest-http/readme.md +++ b/intermediate/rest-http/readme.md @@ -1,23 +1,27 @@ # Introduction -This sample demonstrates how you can send an HTTP request to a Spring Integration's HTTP service while utilizing Spring Integration's new HTTP Path usage; -This sample also uses Spring Security for HTTP Basic authentication. With HTTP Path facility, the client program can send requests with URL Variables. +This sample demonstrates how you can send an HTTP request to a *Spring Integration* HTTP service while utilizing *Spring Integration*'s HTTP Path usage. This sample also uses [Spring Security][] for HTTP Basic authentication. With the HTTP Path facility, the client program can send requests with URL Variables. -It consists of two parts - Client and Server. +The sample consists of two parts: -The following client program can be used to test the HTTP Path usage. +* Client and +* Server -1. RestHttpClientTest. It uses Spring's RestTemplate to assemble and send HTTP request +The *Client* program is provided as a [JUnit][] test: -Server is Spring Integration's HTTP endpoint configuration. +* RestHttpClientTest -To run this sample +This test-case can be used to test the HTTP Path usage. It uses Spring's [RestTemplate][] to assemble and send HTTP requests. The *Server*, on the other hand, is using Spring Integration's HTTP Endpoint configuration. The provided project itself is a web project and you can build the project using [Maven][] and deploy the resulting war under `target/rest-http-*.war` to Servlet Containers such as [Jetty][] or [Apache Tomcat][]: -1. deploy project - - If you are using STS and project is imported as Eclipse project in your workspace you can just execute 'Run on Server' - - You can also run 'mvn clean install' and generate the WAR file that you can deploy the conventional way -2. run the simple JUNIT Test: org.springframework.integration.samples.rest.RestHttpClientTest - You may change the URI Variable value in the test to see different results. + $ mvn clean verify + +# To run this sample + +1. Deploy the project + - If you are using [Spring Tool Suite][] (STS) and project is imported as Eclipse project in your workspace you can just execute 'Run on Server' + - You can also run 'mvn clean verify' and generate the WAR file that you can deploy to Servlet Containers +2. Run the simple JUnit Test: **org.springframework.integration.samples.rest.RestHttpClientTest** + - You may change the URI Variable value in the test to see different results. For example, when you give 0 as the URL Variable's value in the test, then you should see the following output from the server: @@ -42,3 +46,40 @@ For example, when you give 0 as the URL Variable's value in the test, then you s 14:01:34,556 INFO main rest.RestHttpClientTest:122 - Return Status Message :[Success] {"employee":[{"employeeId":1,"fname":"John","lname":"Doe"},{"employeeId":2,"fname":"Jane","lname":"Doe"}],"returnStatus":"0","returnStatusMsg":"Success"} +# The REST API + +If you like to access the server's REST API yourself, please use the following URLs: + +## Return All Employees + +http://localhost:8080/rest-http/services/employee/0/search + +## Return Specific Employees + +http://localhost:8080/rest-http/services/employee/{employeeId}/search + +For example using [cURL][] you can list the details for a specific user with: + + $ curl -u SPRING:spring http://localhost:8080/rest-http/services/employee/1/search + +This should produce output similar to this: + + 1JohnDoe0Success + +## Security + +The REST Endpoint is using [Spring Security][]. The security credentials are: + +* Username: SPRING +* Password: spring + +They are stored in `src/main/resources/users.properties`. + +[Apache Tomcat]: http://tomcat.apache.org/ +[cURL]: http://en.wikipedia.org/wiki/CURL +[Jetty]: http://www.eclipse.org/jetty/ +[JUnit]: http://junit.org/ +[Maven]: http://maven.apache.org/ +[RestTemplate]: http://static.springsource.org/spring/docs/current/javadoc-api/org/springframework/web/client/RestTemplate.html +[Spring Security]: http://www.springsource.org/spring-security +[Spring Tool Suite]: http://www.springsource.org/sts diff --git a/intermediate/rest-http/src/main/resources/users.properties b/intermediate/rest-http/src/main/resources/users.properties index 1e5bfb58..170134bd 100644 --- a/intermediate/rest-http/src/main/resources/users.properties +++ b/intermediate/rest-http/src/main/resources/users.properties @@ -1,2 +1,2 @@ -#REST HTTP User +#REST HTTP User - Password is 'spring' SPRING=gI/OZ3yejUtSxsF9XySg5TfFJFo=,ROLE_REST_HTTP_USER,enabled \ No newline at end of file diff --git a/intermediate/rest-http/src/main/webapp/WEB-INF/logs/rest-http.log b/intermediate/rest-http/src/main/webapp/WEB-INF/logs/rest-http.log new file mode 100644 index 00000000..ee28183f --- /dev/null +++ b/intermediate/rest-http/src/main/webapp/WEB-INF/logs/rest-http.log @@ -0,0 +1,560 @@ +2013-03-29 12:27:39,352 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization started +2013-03-29 12:27:39,440 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing Root WebApplicationContext: startup date [Fri Mar 29 12:27:39 EDT 2013]; root of context hierarchy +2013-03-29 12:27:39,510 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/web-application-config.xml] +2013-03-29 12:27:39,638 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/security-config.xml] +2013-03-29 12:27:39,780 INFO [org.springframework.security.core.SpringSecurityCoreVersion] - You are running with Spring Security Core 3.1.3.RELEASE +2013-03-29 12:27:39,781 INFO [org.springframework.security.config.SecurityNamespaceHandler] - Spring Security 'config' module version is 3.1.3.RELEASE +2013-03-29 12:27:39,858 INFO [org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser] - Creating access control expression attribute 'hasRole('ROLE_REST_HTTP_USER')' for /services/employee/* +2013-03-29 12:27:39,886 INFO [org.springframework.security.config.http.AuthenticationConfigBuilder] - No login page configured. The default internal one will be used. Use the 'login-page' attribute to set the URL of the login page. +2013-03-29 12:27:39,893 INFO [org.springframework.security.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.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 = 400, , order = 800, Root bean: class [org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1000, 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 = 1200, 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 = 1300, 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 = 1400, 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 = 1700, 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 = 1800, 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 = 1900, , order = 2000] +2013-03-29 12:27:39,917 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [META-INF/spring/integration/applicationContext-http-int.xml] +2013-03-29 12:27:40,464 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created. +2013-03-29 12:27:40,465 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created. +2013-03-29 12:27:40,583 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean '(inner bean)' of type [class org.springframework.security.access.annotation.SecuredAnnotationSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 12:27:40,613 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0' of type [class org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 12:27:40,627 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.methodSecurityMetadataSourceAdvisor' of type [class org.springframework.security.access.intercept.aopalliance.MethodSecurityMetadataSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 12:27:40,658 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@65ddc55f: defining beans [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,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.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,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#0,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,jasyptStringDigester,passwordEncoder,channelInitializer,$autoCreateChannelCandidates,org.springframework.integration.internalDefaultConfiguringBeanFactoryPostProcessor,org.springframework.integration.internalMessagingAnnotationPostProcessor,org.springframework.integration.internalPublisherAnnotationBeanPostProcessor,org.springframework.integration.http.inbound.UriPathHandlerMapping#0,employeeSearchRequest,employeeSearchResponse,inboundEmployeeSearchRequestGateway,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,marshaller,org.springframework.integration.config.ServiceActivatorFactoryBean#0,employeeServiceActivator,jaxbJacksonObjectMapper,employeeSearchService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,nullChannel,errorChannel,_org.springframework.integration.errorLogger,taskScheduler,org.springframework.integration.config.IdGeneratorConfigurer#0]; root of factory hierarchy +2013-03-29 12:27:40,947 INFO [org.springframework.beans.factory.config.PropertiesFactoryBean] - Loading properties file from class path resource [users.properties] +2013-03-29 12:27:42,029 INFO [org.springframework.security.web.DefaultSecurityFilterChain] - Creating filter chain: org.springframework.security.web.util.AnyRequestMatcher@1, [org.springframework.security.web.context.SecurityContextPersistenceFilter@547c9586, org.springframework.security.web.authentication.logout.LogoutFilter@3f3cbbbf, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@2c4a1908, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@34b172ef, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@6df0c3ef, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@59cfb84c, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@544cb3a4, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@77a5ff38, org.springframework.security.web.session.SessionManagementFilter@3316f2e6, org.springframework.security.web.access.ExceptionTranslationFilter@27a4f43e, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@3e9f26c7] +2013-03-29 12:27:42,759 INFO [org.springframework.integration.http.inbound.UriPathHandlerMapping] - Mapped URL path [/services/employee/{id}/search] onto handler 'inboundEmployeeSearchRequestGateway' +2013-03-29 12:27:43,032 INFO [org.springframework.oxm.jaxb.Jaxb2Marshaller] - Creating JAXBContext with context path [org.springframework.integration.samples.rest.domain] +2013-03-29 12:27:43,183 WARN [org.springframework.web.servlet.view.ContentNegotiatingViewResolver] - Did not find any ViewResolvers to delegate to; please configure them using the 'viewResolvers' property on the ContentNegotiatingViewResolver +2013-03-29 12:27:43,594 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] - Initializing ExecutorService 'taskScheduler' +2013-03-29 12:27:43,640 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase -2147483648 +2013-03-29 12:27:43,640 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {service-activator:employeeServiceActivator} as a subscriber to the 'employeeSearchRequest' channel +2013-03-29 12:27:43,641 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchRequest' has 1 subscriber(s). +2013-03-29 12:27:43,641 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started employeeServiceActivator +2013-03-29 12:27:43,641 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel +2013-03-29 12:27:43,641 INFO [org.springframework.integration.channel.PublishSubscribeChannel] - Channel 'errorChannel' has 1 subscriber(s). +2013-03-29 12:27:43,641 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started _org.springframework.integration.errorLogger +2013-03-29 12:27:43,641 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase 0 +2013-03-29 12:27:43,641 INFO [org.springframework.integration.http.inbound.HttpRequestHandlingController] - started inboundEmployeeSearchRequestGateway +2013-03-29 12:27:43,647 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization completed in 4295 ms +2013-03-29 12:27:43,704 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'Spring Integration Rest HTTP Path Usage': initialization started +2013-03-29 12:27:43,713 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing WebApplicationContext for namespace 'Spring Integration Rest HTTP Path Usage-servlet': startup date [Fri Mar 29 12:27:43 EDT 2013]; parent: Root WebApplicationContext +2013-03-29 12:27:43,717 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@45715c20: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@65ddc55f +2013-03-29 12:27:43,886 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'Spring Integration Rest HTTP Path Usage': initialization completed in 182 ms +2013-03-29 12:27:45,848 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {bridge:null} as a subscriber to the 'employeeSearchResponse' channel +2013-03-29 12:27:45,849 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchResponse' has 1 subscriber(s). +2013-03-29 12:27:45,849 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started org.springframework.integration.endpoint.EventDrivenConsumer@4660a77c +2013-03-29 12:27:46,415 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing WebApplicationContext for namespace 'Spring Integration Rest HTTP Path Usage-servlet': startup date [Fri Mar 29 12:27:43 EDT 2013]; parent: Root WebApplicationContext +2013-03-29 12:27:46,415 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@45715c20: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@65ddc55f +2013-03-29 12:27:46,416 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing Root WebApplicationContext: startup date [Fri Mar 29 12:27:39 EDT 2013]; root of context hierarchy +2013-03-29 12:27:46,418 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Stopping beans in phase 0 +2013-03-29 12:27:46,419 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {bridge:null} as a subscriber to the 'employeeSearchResponse' channel +2013-03-29 12:27:46,419 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchResponse' has 0 subscriber(s). +2013-03-29 12:27:46,419 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped org.springframework.integration.endpoint.EventDrivenConsumer@4660a77c +2013-03-29 12:27:46,419 INFO [org.springframework.integration.http.inbound.HttpRequestHandlingController] - stopped inboundEmployeeSearchRequestGateway +2013-03-29 12:27:46,419 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Stopping beans in phase -2147483648 +2013-03-29 12:27:46,419 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {service-activator:employeeServiceActivator} as a subscriber to the 'employeeSearchRequest' channel +2013-03-29 12:27:46,419 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchRequest' has 0 subscriber(s). +2013-03-29 12:27:46,420 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped employeeServiceActivator +2013-03-29 12:27:46,420 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel +2013-03-29 12:27:46,420 INFO [org.springframework.integration.channel.PublishSubscribeChannel] - Channel 'errorChannel' has 0 subscriber(s). +2013-03-29 12:27:46,420 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped _org.springframework.integration.errorLogger +2013-03-29 12:27:46,420 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@65ddc55f: defining beans [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,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.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,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#0,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,jasyptStringDigester,passwordEncoder,channelInitializer,$autoCreateChannelCandidates,org.springframework.integration.internalDefaultConfiguringBeanFactoryPostProcessor,org.springframework.integration.internalMessagingAnnotationPostProcessor,org.springframework.integration.internalPublisherAnnotationBeanPostProcessor,org.springframework.integration.http.inbound.UriPathHandlerMapping#0,employeeSearchRequest,employeeSearchResponse,inboundEmployeeSearchRequestGateway,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,marshaller,org.springframework.integration.config.ServiceActivatorFactoryBean#0,employeeServiceActivator,jaxbJacksonObjectMapper,employeeSearchService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,nullChannel,errorChannel,_org.springframework.integration.errorLogger,taskScheduler,org.springframework.integration.config.IdGeneratorConfigurer#0]; root of factory hierarchy +2013-03-29 12:27:46,420 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] - Shutting down ExecutorService 'taskScheduler' +2013-03-29 12:36:47,848 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization started +2013-03-29 12:36:47,949 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing Root WebApplicationContext: startup date [Fri Mar 29 12:36:47 EDT 2013]; root of context hierarchy +2013-03-29 12:36:48,014 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/web-application-config.xml] +2013-03-29 12:36:48,141 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/security-config.xml] +2013-03-29 12:36:48,266 INFO [org.springframework.security.core.SpringSecurityCoreVersion] - You are running with Spring Security Core 3.1.3.RELEASE +2013-03-29 12:36:48,267 INFO [org.springframework.security.config.SecurityNamespaceHandler] - Spring Security 'config' module version is 3.1.3.RELEASE +2013-03-29 12:36:48,347 INFO [org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser] - Creating access control expression attribute 'hasRole('ROLE_REST_HTTP_USER')' for /services/employee/* +2013-03-29 12:36:48,371 INFO [org.springframework.security.config.http.AuthenticationConfigBuilder] - No login page configured. The default internal one will be used. Use the 'login-page' attribute to set the URL of the login page. +2013-03-29 12:36:48,378 INFO [org.springframework.security.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.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 = 400, , order = 800, Root bean: class [org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1000, 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 = 1200, 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 = 1300, 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 = 1400, 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 = 1700, 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 = 1800, 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 = 1900, , order = 2000] +2013-03-29 12:36:48,398 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [META-INF/spring/integration/applicationContext-http-int.xml] +2013-03-29 12:36:48,939 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created. +2013-03-29 12:36:48,940 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created. +2013-03-29 12:36:49,063 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean '(inner bean)' of type [class org.springframework.security.access.annotation.SecuredAnnotationSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 12:36:49,091 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0' of type [class org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 12:36:49,102 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.methodSecurityMetadataSourceAdvisor' of type [class org.springframework.security.access.intercept.aopalliance.MethodSecurityMetadataSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 12:36:49,140 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1d82752b: defining beans [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,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.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,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#0,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,jasyptStringDigester,passwordEncoder,channelInitializer,$autoCreateChannelCandidates,org.springframework.integration.internalDefaultConfiguringBeanFactoryPostProcessor,org.springframework.integration.internalMessagingAnnotationPostProcessor,org.springframework.integration.internalPublisherAnnotationBeanPostProcessor,org.springframework.integration.http.inbound.UriPathHandlerMapping#0,employeeSearchRequest,employeeSearchResponse,inboundEmployeeSearchRequestGateway,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,marshaller,org.springframework.integration.config.ServiceActivatorFactoryBean#0,employeeServiceActivator,jaxbJacksonObjectMapper,employeeSearchService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,nullChannel,errorChannel,_org.springframework.integration.errorLogger,taskScheduler,org.springframework.integration.config.IdGeneratorConfigurer#0]; root of factory hierarchy +2013-03-29 12:36:49,443 INFO [org.springframework.beans.factory.config.PropertiesFactoryBean] - Loading properties file from class path resource [users.properties] +2013-03-29 12:36:50,731 INFO [org.springframework.security.web.DefaultSecurityFilterChain] - Creating filter chain: org.springframework.security.web.util.AnyRequestMatcher@1, [org.springframework.security.web.context.SecurityContextPersistenceFilter@3a04416b, org.springframework.security.web.authentication.logout.LogoutFilter@6d62f58e, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@7be775bc, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@18e2c931, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@5106bcba, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@115080e5, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3c3e4344, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@1bb24442, org.springframework.security.web.session.SessionManagementFilter@549f5742, org.springframework.security.web.access.ExceptionTranslationFilter@2919d975, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6013a567] +2013-03-29 12:36:51,092 INFO [org.springframework.integration.http.inbound.UriPathHandlerMapping] - Mapped URL path [/services/employee/{id}/search] onto handler 'inboundEmployeeSearchRequestGateway' +2013-03-29 12:36:51,184 INFO [org.springframework.oxm.jaxb.Jaxb2Marshaller] - Creating JAXBContext with context path [org.springframework.integration.samples.rest.domain] +2013-03-29 12:36:51,261 WARN [org.springframework.web.servlet.view.ContentNegotiatingViewResolver] - Did not find any ViewResolvers to delegate to; please configure them using the 'viewResolvers' property on the ContentNegotiatingViewResolver +2013-03-29 12:36:51,524 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] - Initializing ExecutorService 'taskScheduler' +2013-03-29 12:36:51,544 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase -2147483648 +2013-03-29 12:36:51,544 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {service-activator:employeeServiceActivator} as a subscriber to the 'employeeSearchRequest' channel +2013-03-29 12:36:51,544 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchRequest' has 1 subscriber(s). +2013-03-29 12:36:51,545 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started employeeServiceActivator +2013-03-29 12:36:51,545 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel +2013-03-29 12:36:51,545 INFO [org.springframework.integration.channel.PublishSubscribeChannel] - Channel 'errorChannel' has 1 subscriber(s). +2013-03-29 12:36:51,545 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started _org.springframework.integration.errorLogger +2013-03-29 12:36:51,545 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase 0 +2013-03-29 12:36:51,545 INFO [org.springframework.integration.http.inbound.HttpRequestHandlingController] - started inboundEmployeeSearchRequestGateway +2013-03-29 12:36:51,548 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization completed in 3699 ms +2013-03-29 12:36:51,587 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'Spring Integration Rest HTTP Path Usage': initialization started +2013-03-29 12:36:51,594 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing WebApplicationContext for namespace 'Spring Integration Rest HTTP Path Usage-servlet': startup date [Fri Mar 29 12:36:51 EDT 2013]; parent: Root WebApplicationContext +2013-03-29 12:36:51,597 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@31e0c0b6: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@1d82752b +2013-03-29 12:36:51,691 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'Spring Integration Rest HTTP Path Usage': initialization completed in 103 ms +2013-03-29 12:36:53,595 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {bridge:null} as a subscriber to the 'employeeSearchResponse' channel +2013-03-29 12:36:53,596 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchResponse' has 1 subscriber(s). +2013-03-29 12:36:53,597 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started org.springframework.integration.endpoint.EventDrivenConsumer@8a10ea2 +2013-03-29 12:36:54,203 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing WebApplicationContext for namespace 'Spring Integration Rest HTTP Path Usage-servlet': startup date [Fri Mar 29 12:36:51 EDT 2013]; parent: Root WebApplicationContext +2013-03-29 12:36:54,203 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@31e0c0b6: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@1d82752b +2013-03-29 12:36:54,204 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing Root WebApplicationContext: startup date [Fri Mar 29 12:36:47 EDT 2013]; root of context hierarchy +2013-03-29 12:36:54,205 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Stopping beans in phase 0 +2013-03-29 12:36:54,206 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {bridge:null} as a subscriber to the 'employeeSearchResponse' channel +2013-03-29 12:36:54,206 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchResponse' has 0 subscriber(s). +2013-03-29 12:36:54,206 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped org.springframework.integration.endpoint.EventDrivenConsumer@8a10ea2 +2013-03-29 12:36:54,206 INFO [org.springframework.integration.http.inbound.HttpRequestHandlingController] - stopped inboundEmployeeSearchRequestGateway +2013-03-29 12:36:54,207 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Stopping beans in phase -2147483648 +2013-03-29 12:36:54,207 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {service-activator:employeeServiceActivator} as a subscriber to the 'employeeSearchRequest' channel +2013-03-29 12:36:54,207 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchRequest' has 0 subscriber(s). +2013-03-29 12:36:54,207 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped employeeServiceActivator +2013-03-29 12:36:54,207 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel +2013-03-29 12:36:54,207 INFO [org.springframework.integration.channel.PublishSubscribeChannel] - Channel 'errorChannel' has 0 subscriber(s). +2013-03-29 12:36:54,207 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped _org.springframework.integration.errorLogger +2013-03-29 12:36:54,207 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1d82752b: defining beans [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,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.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,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#0,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,jasyptStringDigester,passwordEncoder,channelInitializer,$autoCreateChannelCandidates,org.springframework.integration.internalDefaultConfiguringBeanFactoryPostProcessor,org.springframework.integration.internalMessagingAnnotationPostProcessor,org.springframework.integration.internalPublisherAnnotationBeanPostProcessor,org.springframework.integration.http.inbound.UriPathHandlerMapping#0,employeeSearchRequest,employeeSearchResponse,inboundEmployeeSearchRequestGateway,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,marshaller,org.springframework.integration.config.ServiceActivatorFactoryBean#0,employeeServiceActivator,jaxbJacksonObjectMapper,employeeSearchService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,nullChannel,errorChannel,_org.springframework.integration.errorLogger,taskScheduler,org.springframework.integration.config.IdGeneratorConfigurer#0]; root of factory hierarchy +2013-03-29 12:36:54,208 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] - Shutting down ExecutorService 'taskScheduler' +2013-03-29 13:57:12,897 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization started +2013-03-29 13:57:12,997 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing Root WebApplicationContext: startup date [Fri Mar 29 13:57:12 EDT 2013]; root of context hierarchy +2013-03-29 13:57:13,074 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/web-application-config.xml] +2013-03-29 13:57:13,234 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/security-config.xml] +2013-03-29 13:57:13,372 INFO [org.springframework.security.core.SpringSecurityCoreVersion] - You are running with Spring Security Core 3.1.3.RELEASE +2013-03-29 13:57:13,372 INFO [org.springframework.security.config.SecurityNamespaceHandler] - Spring Security 'config' module version is 3.1.3.RELEASE +2013-03-29 13:57:13,452 INFO [org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser] - Creating access control expression attribute 'hasRole('ROLE_REST_HTTP_USER')' for /services/employee/* +2013-03-29 13:57:13,484 INFO [org.springframework.security.config.http.AuthenticationConfigBuilder] - No login page configured. The default internal one will be used. Use the 'login-page' attribute to set the URL of the login page. +2013-03-29 13:57:13,492 INFO [org.springframework.security.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.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 = 400, , order = 800, Root bean: class [org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1000, 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 = 1200, 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 = 1300, 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 = 1400, 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 = 1700, 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 = 1800, 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 = 1900, , order = 2000] +2013-03-29 13:57:13,525 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [META-INF/spring/integration/applicationContext-http-int.xml] +2013-03-29 13:57:14,147 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created. +2013-03-29 13:57:14,147 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created. +2013-03-29 13:57:14,264 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean '(inner bean)' of type [class org.springframework.security.access.annotation.SecuredAnnotationSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 13:57:14,291 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0' of type [class org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 13:57:14,302 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.methodSecurityMetadataSourceAdvisor' of type [class org.springframework.security.access.intercept.aopalliance.MethodSecurityMetadataSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 13:57:14,341 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1c944d4a: defining beans [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,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.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,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#0,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,jasyptStringDigester,passwordEncoder,channelInitializer,$autoCreateChannelCandidates,org.springframework.integration.internalDefaultConfiguringBeanFactoryPostProcessor,org.springframework.integration.internalMessagingAnnotationPostProcessor,org.springframework.integration.internalPublisherAnnotationBeanPostProcessor,org.springframework.integration.http.inbound.UriPathHandlerMapping#0,employeeSearchRequest,employeeSearchResponse,inboundEmployeeSearchRequestGateway,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,marshaller,org.springframework.integration.config.ServiceActivatorFactoryBean#0,employeeServiceActivator,jaxbJacksonObjectMapper,employeeSearchService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,nullChannel,errorChannel,_org.springframework.integration.errorLogger,taskScheduler,org.springframework.integration.config.IdGeneratorConfigurer#0]; root of factory hierarchy +2013-03-29 13:57:14,683 INFO [org.springframework.beans.factory.config.PropertiesFactoryBean] - Loading properties file from class path resource [users.properties] +2013-03-29 13:57:16,097 INFO [org.springframework.security.web.DefaultSecurityFilterChain] - Creating filter chain: org.springframework.security.web.util.AnyRequestMatcher@1, [org.springframework.security.web.context.SecurityContextPersistenceFilter@4848268a, org.springframework.security.web.authentication.logout.LogoutFilter@78da5318, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@45858aa4, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@425138a4, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@625db8ff, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@771c9fcc, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@783f472b, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@25995ba, org.springframework.security.web.session.SessionManagementFilter@4774e78a, org.springframework.security.web.access.ExceptionTranslationFilter@4c0d39ac, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@78457235] +2013-03-29 13:57:16,507 INFO [org.springframework.integration.http.inbound.UriPathHandlerMapping] - Mapped URL path [/services/employee/{id}/search] onto handler 'inboundEmployeeSearchRequestGateway' +2013-03-29 13:57:16,612 INFO [org.springframework.oxm.jaxb.Jaxb2Marshaller] - Creating JAXBContext with context path [org.springframework.integration.samples.rest.domain] +2013-03-29 13:57:16,727 WARN [org.springframework.web.servlet.view.ContentNegotiatingViewResolver] - Did not find any ViewResolvers to delegate to; please configure them using the 'viewResolvers' property on the ContentNegotiatingViewResolver +2013-03-29 13:57:16,986 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] - Initializing ExecutorService 'taskScheduler' +2013-03-29 13:57:17,009 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase -2147483648 +2013-03-29 13:57:17,010 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {service-activator:employeeServiceActivator} as a subscriber to the 'employeeSearchRequest' channel +2013-03-29 13:57:17,010 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchRequest' has 1 subscriber(s). +2013-03-29 13:57:17,010 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started employeeServiceActivator +2013-03-29 13:57:17,011 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel +2013-03-29 13:57:17,011 INFO [org.springframework.integration.channel.PublishSubscribeChannel] - Channel 'errorChannel' has 1 subscriber(s). +2013-03-29 13:57:17,011 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started _org.springframework.integration.errorLogger +2013-03-29 13:57:17,011 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase 0 +2013-03-29 13:57:17,011 INFO [org.springframework.integration.http.inbound.HttpRequestHandlingController] - started inboundEmployeeSearchRequestGateway +2013-03-29 13:57:17,015 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization completed in 4117 ms +2013-03-29 13:57:17,073 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'Spring Integration Rest HTTP Path Usage': initialization started +2013-03-29 13:57:17,080 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing WebApplicationContext for namespace 'Spring Integration Rest HTTP Path Usage-servlet': startup date [Fri Mar 29 13:57:17 EDT 2013]; parent: Root WebApplicationContext +2013-03-29 13:57:17,083 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@725b1426: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@1c944d4a +2013-03-29 13:57:17,140 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'Spring Integration Rest HTTP Path Usage': initialization completed in 66 ms +2013-03-29 13:57:19,085 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {bridge:null} as a subscriber to the 'employeeSearchResponse' channel +2013-03-29 13:57:19,086 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchResponse' has 1 subscriber(s). +2013-03-29 13:57:19,086 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started org.springframework.integration.endpoint.EventDrivenConsumer@32f4bb6c +2013-03-29 13:57:25,925 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing WebApplicationContext for namespace 'Spring Integration Rest HTTP Path Usage-servlet': startup date [Fri Mar 29 13:57:17 EDT 2013]; parent: Root WebApplicationContext +2013-03-29 13:57:25,926 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@725b1426: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@1c944d4a +2013-03-29 13:57:25,927 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing Root WebApplicationContext: startup date [Fri Mar 29 13:57:12 EDT 2013]; root of context hierarchy +2013-03-29 13:57:25,929 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Stopping beans in phase 0 +2013-03-29 13:57:25,930 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {bridge:null} as a subscriber to the 'employeeSearchResponse' channel +2013-03-29 13:57:25,930 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchResponse' has 0 subscriber(s). +2013-03-29 13:57:25,930 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped org.springframework.integration.endpoint.EventDrivenConsumer@32f4bb6c +2013-03-29 13:57:25,930 INFO [org.springframework.integration.http.inbound.HttpRequestHandlingController] - stopped inboundEmployeeSearchRequestGateway +2013-03-29 13:57:25,931 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Stopping beans in phase -2147483648 +2013-03-29 13:57:25,931 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {service-activator:employeeServiceActivator} as a subscriber to the 'employeeSearchRequest' channel +2013-03-29 13:57:25,931 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchRequest' has 0 subscriber(s). +2013-03-29 13:57:25,931 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped employeeServiceActivator +2013-03-29 13:57:25,931 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel +2013-03-29 13:57:25,931 INFO [org.springframework.integration.channel.PublishSubscribeChannel] - Channel 'errorChannel' has 0 subscriber(s). +2013-03-29 13:57:25,931 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped _org.springframework.integration.errorLogger +2013-03-29 13:57:25,931 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1c944d4a: defining beans [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,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.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,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#0,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,jasyptStringDigester,passwordEncoder,channelInitializer,$autoCreateChannelCandidates,org.springframework.integration.internalDefaultConfiguringBeanFactoryPostProcessor,org.springframework.integration.internalMessagingAnnotationPostProcessor,org.springframework.integration.internalPublisherAnnotationBeanPostProcessor,org.springframework.integration.http.inbound.UriPathHandlerMapping#0,employeeSearchRequest,employeeSearchResponse,inboundEmployeeSearchRequestGateway,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,marshaller,org.springframework.integration.config.ServiceActivatorFactoryBean#0,employeeServiceActivator,jaxbJacksonObjectMapper,employeeSearchService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,nullChannel,errorChannel,_org.springframework.integration.errorLogger,taskScheduler,org.springframework.integration.config.IdGeneratorConfigurer#0]; root of factory hierarchy +2013-03-29 13:57:25,932 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] - Shutting down ExecutorService 'taskScheduler' +2013-03-29 13:58:00,929 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization started +2013-03-29 13:58:01,027 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing Root WebApplicationContext: startup date [Fri Mar 29 13:58:01 EDT 2013]; root of context hierarchy +2013-03-29 13:58:01,093 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/web-application-config.xml] +2013-03-29 13:58:01,213 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/security-config.xml] +2013-03-29 13:58:01,340 INFO [org.springframework.security.core.SpringSecurityCoreVersion] - You are running with Spring Security Core 3.1.3.RELEASE +2013-03-29 13:58:01,341 INFO [org.springframework.security.config.SecurityNamespaceHandler] - Spring Security 'config' module version is 3.1.3.RELEASE +2013-03-29 13:58:01,470 INFO [org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser] - Creating access control expression attribute 'hasRole('ROLE_REST_HTTP_USER')' for /services/employee/* +2013-03-29 13:58:01,493 INFO [org.springframework.security.config.http.AuthenticationConfigBuilder] - No login page configured. The default internal one will be used. Use the 'login-page' attribute to set the URL of the login page. +2013-03-29 13:58:01,498 INFO [org.springframework.security.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.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 = 400, , order = 800, Root bean: class [org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1000, 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 = 1200, 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 = 1300, 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 = 1400, 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 = 1700, 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 = 1800, 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 = 1900, , order = 2000] +2013-03-29 13:58:01,539 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [META-INF/spring/integration/applicationContext-http-int.xml] +2013-03-29 13:58:02,108 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created. +2013-03-29 13:58:02,109 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created. +2013-03-29 13:58:02,228 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean '(inner bean)' of type [class org.springframework.security.access.annotation.SecuredAnnotationSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 13:58:02,256 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0' of type [class org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 13:58:02,268 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.methodSecurityMetadataSourceAdvisor' of type [class org.springframework.security.access.intercept.aopalliance.MethodSecurityMetadataSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 13:58:02,304 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6cd8f317: defining beans [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,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.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,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#0,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,jasyptStringDigester,passwordEncoder,channelInitializer,$autoCreateChannelCandidates,org.springframework.integration.internalDefaultConfiguringBeanFactoryPostProcessor,org.springframework.integration.internalMessagingAnnotationPostProcessor,org.springframework.integration.internalPublisherAnnotationBeanPostProcessor,org.springframework.integration.http.inbound.UriPathHandlerMapping#0,employeeSearchRequest,employeeSearchResponse,inboundEmployeeSearchRequestGateway,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,marshaller,org.springframework.integration.config.ServiceActivatorFactoryBean#0,employeeServiceActivator,jaxbJacksonObjectMapper,employeeSearchService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,nullChannel,errorChannel,_org.springframework.integration.errorLogger,taskScheduler,org.springframework.integration.config.IdGeneratorConfigurer#0]; root of factory hierarchy +2013-03-29 13:58:02,616 INFO [org.springframework.beans.factory.config.PropertiesFactoryBean] - Loading properties file from class path resource [users.properties] +2013-03-29 13:58:03,918 INFO [org.springframework.security.web.DefaultSecurityFilterChain] - Creating filter chain: org.springframework.security.web.util.AnyRequestMatcher@1, [org.springframework.security.web.context.SecurityContextPersistenceFilter@414d0e66, org.springframework.security.web.authentication.logout.LogoutFilter@29ec6c08, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@60a896b8, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@5c3f3b9b, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@3b626c6d, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3abc8690, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2f267610, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6112c9f, org.springframework.security.web.session.SessionManagementFilter@51887dd5, org.springframework.security.web.access.ExceptionTranslationFilter@57fd54c4, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@38c83cfd] +2013-03-29 13:58:04,291 INFO [org.springframework.integration.http.inbound.UriPathHandlerMapping] - Mapped URL path [/services/employee/{id}/search] onto handler 'inboundEmployeeSearchRequestGateway' +2013-03-29 13:58:04,386 INFO [org.springframework.oxm.jaxb.Jaxb2Marshaller] - Creating JAXBContext with context path [org.springframework.integration.samples.rest.domain] +2013-03-29 13:58:04,465 WARN [org.springframework.web.servlet.view.ContentNegotiatingViewResolver] - Did not find any ViewResolvers to delegate to; please configure them using the 'viewResolvers' property on the ContentNegotiatingViewResolver +2013-03-29 13:58:04,704 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] - Initializing ExecutorService 'taskScheduler' +2013-03-29 13:58:04,726 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase -2147483648 +2013-03-29 13:58:04,727 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {service-activator:employeeServiceActivator} as a subscriber to the 'employeeSearchRequest' channel +2013-03-29 13:58:04,727 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchRequest' has 1 subscriber(s). +2013-03-29 13:58:04,727 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started employeeServiceActivator +2013-03-29 13:58:04,727 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel +2013-03-29 13:58:04,727 INFO [org.springframework.integration.channel.PublishSubscribeChannel] - Channel 'errorChannel' has 1 subscriber(s). +2013-03-29 13:58:04,728 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started _org.springframework.integration.errorLogger +2013-03-29 13:58:04,728 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase 0 +2013-03-29 13:58:04,728 INFO [org.springframework.integration.http.inbound.HttpRequestHandlingController] - started inboundEmployeeSearchRequestGateway +2013-03-29 13:58:04,730 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization completed in 3800 ms +2013-03-29 13:58:04,763 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'Spring Integration Rest HTTP Path Usage': initialization started +2013-03-29 13:58:04,780 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing WebApplicationContext for namespace 'Spring Integration Rest HTTP Path Usage-servlet': startup date [Fri Mar 29 13:58:04 EDT 2013]; parent: Root WebApplicationContext +2013-03-29 13:58:04,783 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@791a4131: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@6cd8f317 +2013-03-29 13:58:04,870 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'Spring Integration Rest HTTP Path Usage': initialization completed in 107 ms +2013-03-29 13:58:06,656 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {bridge:null} as a subscriber to the 'employeeSearchResponse' channel +2013-03-29 13:58:06,657 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchResponse' has 1 subscriber(s). +2013-03-29 13:58:06,657 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started org.springframework.integration.endpoint.EventDrivenConsumer@1b6915d4 +2013-03-29 13:59:08,410 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization started +2013-03-29 13:59:08,495 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing Root WebApplicationContext: startup date [Fri Mar 29 13:59:08 EDT 2013]; root of context hierarchy +2013-03-29 13:59:08,555 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/web-application-config.xml] +2013-03-29 13:59:08,675 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/security-config.xml] +2013-03-29 13:59:08,807 INFO [org.springframework.security.core.SpringSecurityCoreVersion] - You are running with Spring Security Core 3.1.3.RELEASE +2013-03-29 13:59:08,807 INFO [org.springframework.security.config.SecurityNamespaceHandler] - Spring Security 'config' module version is 3.1.3.RELEASE +2013-03-29 13:59:08,900 INFO [org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser] - Creating access control expression attribute 'hasRole('ROLE_REST_HTTP_USER')' for /services/employee/* +2013-03-29 13:59:08,925 INFO [org.springframework.security.config.http.AuthenticationConfigBuilder] - No login page configured. The default internal one will be used. Use the 'login-page' attribute to set the URL of the login page. +2013-03-29 13:59:08,936 INFO [org.springframework.security.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.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 = 400, , order = 800, Root bean: class [org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1000, 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 = 1200, 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 = 1300, 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 = 1400, 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 = 1700, 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 = 1800, 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 = 1900, , order = 2000] +2013-03-29 13:59:08,969 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [META-INF/spring/integration/applicationContext-http-int.xml] +2013-03-29 13:59:09,551 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created. +2013-03-29 13:59:09,552 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created. +2013-03-29 13:59:09,672 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean '(inner bean)' of type [class org.springframework.security.access.annotation.SecuredAnnotationSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 13:59:09,694 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0' of type [class org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 13:59:09,702 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.methodSecurityMetadataSourceAdvisor' of type [class org.springframework.security.access.intercept.aopalliance.MethodSecurityMetadataSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 13:59:09,739 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@75e13ce3: defining beans [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,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.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,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#0,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,jasyptStringDigester,passwordEncoder,channelInitializer,$autoCreateChannelCandidates,org.springframework.integration.internalDefaultConfiguringBeanFactoryPostProcessor,org.springframework.integration.internalMessagingAnnotationPostProcessor,org.springframework.integration.internalPublisherAnnotationBeanPostProcessor,org.springframework.integration.http.inbound.UriPathHandlerMapping#0,employeeSearchRequest,employeeSearchResponse,inboundEmployeeSearchRequestGateway,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,marshaller,org.springframework.integration.config.ServiceActivatorFactoryBean#0,employeeServiceActivator,jaxbJacksonObjectMapper,employeeSearchService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,nullChannel,errorChannel,_org.springframework.integration.errorLogger,taskScheduler,org.springframework.integration.config.IdGeneratorConfigurer#0]; root of factory hierarchy +2013-03-29 13:59:10,029 INFO [org.springframework.beans.factory.config.PropertiesFactoryBean] - Loading properties file from class path resource [users.properties] +2013-03-29 13:59:11,483 INFO [org.springframework.security.web.DefaultSecurityFilterChain] - Creating filter chain: org.springframework.security.web.util.AnyRequestMatcher@1, [org.springframework.security.web.context.SecurityContextPersistenceFilter@625db8ff, org.springframework.security.web.authentication.logout.LogoutFilter@771c9fcc, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@783f472b, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@25995ba, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4774e78a, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@4c0d39ac, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@78457235, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@174d3343, org.springframework.security.web.session.SessionManagementFilter@4d607fa8, org.springframework.security.web.access.ExceptionTranslationFilter@7a5d1647, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@7561ce13] +2013-03-29 13:59:12,193 INFO [org.springframework.integration.http.inbound.UriPathHandlerMapping] - Mapped URL path [/services/employee/{id}/search] onto handler 'inboundEmployeeSearchRequestGateway' +2013-03-29 13:59:12,404 INFO [org.springframework.oxm.jaxb.Jaxb2Marshaller] - Creating JAXBContext with context path [org.springframework.integration.samples.rest.domain] +2013-03-29 13:59:12,537 WARN [org.springframework.web.servlet.view.ContentNegotiatingViewResolver] - Did not find any ViewResolvers to delegate to; please configure them using the 'viewResolvers' property on the ContentNegotiatingViewResolver +2013-03-29 13:59:12,925 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] - Initializing ExecutorService 'taskScheduler' +2013-03-29 13:59:12,947 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase -2147483648 +2013-03-29 13:59:12,948 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {service-activator:employeeServiceActivator} as a subscriber to the 'employeeSearchRequest' channel +2013-03-29 13:59:12,948 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchRequest' has 1 subscriber(s). +2013-03-29 13:59:12,948 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started employeeServiceActivator +2013-03-29 13:59:12,948 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel +2013-03-29 13:59:12,949 INFO [org.springframework.integration.channel.PublishSubscribeChannel] - Channel 'errorChannel' has 1 subscriber(s). +2013-03-29 13:59:12,949 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started _org.springframework.integration.errorLogger +2013-03-29 13:59:12,949 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase 0 +2013-03-29 13:59:12,949 INFO [org.springframework.integration.http.inbound.HttpRequestHandlingController] - started inboundEmployeeSearchRequestGateway +2013-03-29 13:59:12,953 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization completed in 4543 ms +2013-03-29 13:59:13,019 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'Spring Integration Rest HTTP Path Usage': initialization started +2013-03-29 13:59:13,026 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing WebApplicationContext for namespace 'Spring Integration Rest HTTP Path Usage-servlet': startup date [Fri Mar 29 13:59:13 EDT 2013]; parent: Root WebApplicationContext +2013-03-29 13:59:13,028 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@3ef91c8f: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@75e13ce3 +2013-03-29 13:59:13,153 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'Spring Integration Rest HTTP Path Usage': initialization completed in 134 ms +2013-03-29 13:59:15,120 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {bridge:null} as a subscriber to the 'employeeSearchResponse' channel +2013-03-29 13:59:15,121 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchResponse' has 1 subscriber(s). +2013-03-29 13:59:15,121 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started org.springframework.integration.endpoint.EventDrivenConsumer@7869f0bc +2013-03-29 13:59:38,654 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing WebApplicationContext for namespace 'Spring Integration Rest HTTP Path Usage-servlet': startup date [Fri Mar 29 13:59:13 EDT 2013]; parent: Root WebApplicationContext +2013-03-29 13:59:38,654 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@3ef91c8f: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@75e13ce3 +2013-03-29 13:59:38,655 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing Root WebApplicationContext: startup date [Fri Mar 29 13:59:08 EDT 2013]; root of context hierarchy +2013-03-29 13:59:38,658 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Stopping beans in phase 0 +2013-03-29 13:59:38,660 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {bridge:null} as a subscriber to the 'employeeSearchResponse' channel +2013-03-29 13:59:38,660 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchResponse' has 0 subscriber(s). +2013-03-29 13:59:38,660 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped org.springframework.integration.endpoint.EventDrivenConsumer@7869f0bc +2013-03-29 13:59:38,660 INFO [org.springframework.integration.http.inbound.HttpRequestHandlingController] - stopped inboundEmployeeSearchRequestGateway +2013-03-29 13:59:38,660 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Stopping beans in phase -2147483648 +2013-03-29 13:59:38,660 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {service-activator:employeeServiceActivator} as a subscriber to the 'employeeSearchRequest' channel +2013-03-29 13:59:38,661 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchRequest' has 0 subscriber(s). +2013-03-29 13:59:38,661 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped employeeServiceActivator +2013-03-29 13:59:38,661 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel +2013-03-29 13:59:38,661 INFO [org.springframework.integration.channel.PublishSubscribeChannel] - Channel 'errorChannel' has 0 subscriber(s). +2013-03-29 13:59:38,661 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped _org.springframework.integration.errorLogger +2013-03-29 13:59:38,661 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@75e13ce3: defining beans [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,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.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,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#0,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,jasyptStringDigester,passwordEncoder,channelInitializer,$autoCreateChannelCandidates,org.springframework.integration.internalDefaultConfiguringBeanFactoryPostProcessor,org.springframework.integration.internalMessagingAnnotationPostProcessor,org.springframework.integration.internalPublisherAnnotationBeanPostProcessor,org.springframework.integration.http.inbound.UriPathHandlerMapping#0,employeeSearchRequest,employeeSearchResponse,inboundEmployeeSearchRequestGateway,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,marshaller,org.springframework.integration.config.ServiceActivatorFactoryBean#0,employeeServiceActivator,jaxbJacksonObjectMapper,employeeSearchService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,nullChannel,errorChannel,_org.springframework.integration.errorLogger,taskScheduler,org.springframework.integration.config.IdGeneratorConfigurer#0]; root of factory hierarchy +2013-03-29 13:59:38,662 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] - Shutting down ExecutorService 'taskScheduler' +2013-03-29 14:00:31,217 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization started +2013-03-29 14:00:31,307 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing Root WebApplicationContext: startup date [Fri Mar 29 14:00:31 EDT 2013]; root of context hierarchy +2013-03-29 14:00:31,380 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/web-application-config.xml] +2013-03-29 14:00:31,510 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/security-config.xml] +2013-03-29 14:00:31,641 INFO [org.springframework.security.core.SpringSecurityCoreVersion] - You are running with Spring Security Core 3.1.3.RELEASE +2013-03-29 14:00:31,641 INFO [org.springframework.security.config.SecurityNamespaceHandler] - Spring Security 'config' module version is 3.1.3.RELEASE +2013-03-29 14:00:31,727 INFO [org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser] - Creating access control expression attribute 'hasRole('ROLE_REST_HTTP_USER')' for /services/employee/* +2013-03-29 14:00:31,752 INFO [org.springframework.security.config.http.AuthenticationConfigBuilder] - No login page configured. The default internal one will be used. Use the 'login-page' attribute to set the URL of the login page. +2013-03-29 14:00:31,770 INFO [org.springframework.security.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.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 = 400, , order = 800, Root bean: class [org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1000, 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 = 1200, 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 = 1300, 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 = 1400, 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 = 1700, 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 = 1800, 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 = 1900, , order = 2000] +2013-03-29 14:00:31,798 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [META-INF/spring/integration/applicationContext-http-int.xml] +2013-03-29 14:00:32,345 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created. +2013-03-29 14:00:32,346 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created. +2013-03-29 14:00:32,468 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean '(inner bean)' of type [class org.springframework.security.access.annotation.SecuredAnnotationSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 14:00:32,495 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0' of type [class org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 14:00:32,508 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.methodSecurityMetadataSourceAdvisor' of type [class org.springframework.security.access.intercept.aopalliance.MethodSecurityMetadataSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 14:00:32,559 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@761da8fc: defining beans [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,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.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,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#0,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,jasyptStringDigester,passwordEncoder,channelInitializer,$autoCreateChannelCandidates,org.springframework.integration.internalDefaultConfiguringBeanFactoryPostProcessor,org.springframework.integration.internalMessagingAnnotationPostProcessor,org.springframework.integration.internalPublisherAnnotationBeanPostProcessor,org.springframework.integration.http.inbound.UriPathHandlerMapping#0,employeeSearchRequest,employeeSearchResponse,inboundEmployeeSearchRequestGateway,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,marshaller,org.springframework.integration.config.ServiceActivatorFactoryBean#0,employeeServiceActivator,jaxbJacksonObjectMapper,employeeSearchService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,nullChannel,errorChannel,_org.springframework.integration.errorLogger,taskScheduler,org.springframework.integration.config.IdGeneratorConfigurer#0]; root of factory hierarchy +2013-03-29 14:00:33,084 INFO [org.springframework.beans.factory.config.PropertiesFactoryBean] - Loading properties file from class path resource [users.properties] +2013-03-29 14:00:34,744 INFO [org.springframework.security.web.DefaultSecurityFilterChain] - Creating filter chain: org.springframework.security.web.util.AnyRequestMatcher@1, [org.springframework.security.web.context.SecurityContextPersistenceFilter@5b4c92a7, org.springframework.security.web.authentication.logout.LogoutFilter@3040c5, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@5fec459b, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@10cdf450, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4162b8ce, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3852fdeb, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@509c6c30, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4d82eca8, org.springframework.security.web.session.SessionManagementFilter@4e7f3159, org.springframework.security.web.access.ExceptionTranslationFilter@80f252, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@11a4e5c0] +2013-03-29 14:00:35,322 INFO [org.springframework.integration.http.inbound.UriPathHandlerMapping] - Mapped URL path [/services/employee/{id}/search] onto handler 'inboundEmployeeSearchRequestGateway' +2013-03-29 14:00:35,486 INFO [org.springframework.oxm.jaxb.Jaxb2Marshaller] - Creating JAXBContext with context path [org.springframework.integration.samples.rest.domain] +2013-03-29 14:00:35,600 WARN [org.springframework.web.servlet.view.ContentNegotiatingViewResolver] - Did not find any ViewResolvers to delegate to; please configure them using the 'viewResolvers' property on the ContentNegotiatingViewResolver +2013-03-29 14:00:35,921 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] - Initializing ExecutorService 'taskScheduler' +2013-03-29 14:00:35,954 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase -2147483648 +2013-03-29 14:00:35,955 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {service-activator:employeeServiceActivator} as a subscriber to the 'employeeSearchRequest' channel +2013-03-29 14:00:35,955 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchRequest' has 1 subscriber(s). +2013-03-29 14:00:35,955 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started employeeServiceActivator +2013-03-29 14:00:35,955 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel +2013-03-29 14:00:35,955 INFO [org.springframework.integration.channel.PublishSubscribeChannel] - Channel 'errorChannel' has 1 subscriber(s). +2013-03-29 14:00:35,956 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started _org.springframework.integration.errorLogger +2013-03-29 14:00:35,963 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase 0 +2013-03-29 14:00:35,963 INFO [org.springframework.integration.http.inbound.HttpRequestHandlingController] - started inboundEmployeeSearchRequestGateway +2013-03-29 14:00:35,967 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization completed in 4750 ms +2013-03-29 14:00:36,031 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'Spring Integration Rest HTTP Path Usage': initialization started +2013-03-29 14:00:36,040 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing WebApplicationContext for namespace 'Spring Integration Rest HTTP Path Usage-servlet': startup date [Fri Mar 29 14:00:36 EDT 2013]; parent: Root WebApplicationContext +2013-03-29 14:00:36,043 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@4e170376: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@761da8fc +2013-03-29 14:00:36,098 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'Spring Integration Rest HTTP Path Usage': initialization completed in 67 ms +2013-03-29 14:00:37,984 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {bridge:null} as a subscriber to the 'employeeSearchResponse' channel +2013-03-29 14:00:37,985 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchResponse' has 1 subscriber(s). +2013-03-29 14:00:37,986 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started org.springframework.integration.endpoint.EventDrivenConsumer@20e2e869 +2013-03-29 14:01:09,391 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing WebApplicationContext for namespace 'Spring Integration Rest HTTP Path Usage-servlet': startup date [Fri Mar 29 14:00:36 EDT 2013]; parent: Root WebApplicationContext +2013-03-29 14:01:09,392 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@4e170376: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@761da8fc +2013-03-29 14:01:09,394 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing Root WebApplicationContext: startup date [Fri Mar 29 14:00:31 EDT 2013]; root of context hierarchy +2013-03-29 14:01:09,398 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Stopping beans in phase 0 +2013-03-29 14:01:09,400 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {bridge:null} as a subscriber to the 'employeeSearchResponse' channel +2013-03-29 14:01:09,400 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchResponse' has 0 subscriber(s). +2013-03-29 14:01:09,401 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped org.springframework.integration.endpoint.EventDrivenConsumer@20e2e869 +2013-03-29 14:01:09,401 INFO [org.springframework.integration.http.inbound.HttpRequestHandlingController] - stopped inboundEmployeeSearchRequestGateway +2013-03-29 14:01:09,401 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Stopping beans in phase -2147483648 +2013-03-29 14:01:09,401 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {service-activator:employeeServiceActivator} as a subscriber to the 'employeeSearchRequest' channel +2013-03-29 14:01:09,402 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchRequest' has 0 subscriber(s). +2013-03-29 14:01:09,402 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped employeeServiceActivator +2013-03-29 14:01:09,402 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel +2013-03-29 14:01:09,402 INFO [org.springframework.integration.channel.PublishSubscribeChannel] - Channel 'errorChannel' has 0 subscriber(s). +2013-03-29 14:01:09,403 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped _org.springframework.integration.errorLogger +2013-03-29 14:01:09,403 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@761da8fc: defining beans [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,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.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,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#0,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,jasyptStringDigester,passwordEncoder,channelInitializer,$autoCreateChannelCandidates,org.springframework.integration.internalDefaultConfiguringBeanFactoryPostProcessor,org.springframework.integration.internalMessagingAnnotationPostProcessor,org.springframework.integration.internalPublisherAnnotationBeanPostProcessor,org.springframework.integration.http.inbound.UriPathHandlerMapping#0,employeeSearchRequest,employeeSearchResponse,inboundEmployeeSearchRequestGateway,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,marshaller,org.springframework.integration.config.ServiceActivatorFactoryBean#0,employeeServiceActivator,jaxbJacksonObjectMapper,employeeSearchService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,nullChannel,errorChannel,_org.springframework.integration.errorLogger,taskScheduler,org.springframework.integration.config.IdGeneratorConfigurer#0]; root of factory hierarchy +2013-03-29 14:01:09,404 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] - Shutting down ExecutorService 'taskScheduler' +2013-03-29 14:05:55,068 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization started +2013-03-29 14:05:55,168 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing Root WebApplicationContext: startup date [Fri Mar 29 14:05:55 EDT 2013]; root of context hierarchy +2013-03-29 14:05:55,250 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/web-application-config.xml] +2013-03-29 14:05:55,398 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/security-config.xml] +2013-03-29 14:05:55,541 INFO [org.springframework.security.core.SpringSecurityCoreVersion] - You are running with Spring Security Core 3.1.3.RELEASE +2013-03-29 14:05:55,541 INFO [org.springframework.security.config.SecurityNamespaceHandler] - Spring Security 'config' module version is 3.1.3.RELEASE +2013-03-29 14:05:55,633 INFO [org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser] - Creating access control expression attribute 'hasRole('ROLE_REST_HTTP_USER')' for /services/employee/* +2013-03-29 14:05:55,658 INFO [org.springframework.security.config.http.AuthenticationConfigBuilder] - No login page configured. The default internal one will be used. Use the 'login-page' attribute to set the URL of the login page. +2013-03-29 14:05:55,676 INFO [org.springframework.security.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.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 = 400, , order = 800, Root bean: class [org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1000, 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 = 1200, 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 = 1300, 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 = 1400, 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 = 1700, 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 = 1800, 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 = 1900, , order = 2000] +2013-03-29 14:05:55,704 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [META-INF/spring/integration/applicationContext-http-int.xml] +2013-03-29 14:05:56,294 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created. +2013-03-29 14:05:56,295 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created. +2013-03-29 14:05:56,438 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean '(inner bean)' of type [class org.springframework.security.access.annotation.SecuredAnnotationSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 14:05:56,471 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0' of type [class org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 14:05:56,485 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.methodSecurityMetadataSourceAdvisor' of type [class org.springframework.security.access.intercept.aopalliance.MethodSecurityMetadataSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 14:05:56,531 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@416b724d: defining beans [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,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.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,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#0,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,jasyptStringDigester,passwordEncoder,channelInitializer,$autoCreateChannelCandidates,org.springframework.integration.internalDefaultConfiguringBeanFactoryPostProcessor,org.springframework.integration.internalMessagingAnnotationPostProcessor,org.springframework.integration.internalPublisherAnnotationBeanPostProcessor,org.springframework.integration.http.inbound.UriPathHandlerMapping#0,employeeSearchRequest,employeeSearchResponse,inboundEmployeeSearchRequestGateway,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,marshaller,org.springframework.integration.config.ServiceActivatorFactoryBean#0,employeeServiceActivator,jaxbJacksonObjectMapper,employeeSearchService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,nullChannel,errorChannel,_org.springframework.integration.errorLogger,taskScheduler,org.springframework.integration.config.IdGeneratorConfigurer#0]; root of factory hierarchy +2013-03-29 14:05:56,856 INFO [org.springframework.beans.factory.config.PropertiesFactoryBean] - Loading properties file from class path resource [users.properties] +2013-03-29 14:05:57,985 INFO [org.springframework.security.web.DefaultSecurityFilterChain] - Creating filter chain: org.springframework.security.web.util.AnyRequestMatcher@1, [org.springframework.security.web.context.SecurityContextPersistenceFilter@c6f558a, org.springframework.security.web.authentication.logout.LogoutFilter@6158dd66, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@112f8578, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@46e39218, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@68c8a04, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@74b90ff7, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@21c75cff, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@27aa7aac, org.springframework.security.web.session.SessionManagementFilter@295bc68c, org.springframework.security.web.access.ExceptionTranslationFilter@4848268a, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@78da5318] +2013-03-29 14:05:58,355 INFO [org.springframework.integration.http.inbound.UriPathHandlerMapping] - Mapped URL path [/services/employee/{id}/search] onto handler 'inboundEmployeeSearchRequestGateway' +2013-03-29 14:05:58,444 INFO [org.springframework.oxm.jaxb.Jaxb2Marshaller] - Creating JAXBContext with context path [org.springframework.integration.samples.rest.domain] +2013-03-29 14:05:58,528 WARN [org.springframework.web.servlet.view.ContentNegotiatingViewResolver] - Did not find any ViewResolvers to delegate to; please configure them using the 'viewResolvers' property on the ContentNegotiatingViewResolver +2013-03-29 14:05:58,755 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] - Initializing ExecutorService 'taskScheduler' +2013-03-29 14:05:58,776 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase -2147483648 +2013-03-29 14:05:58,777 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {service-activator:employeeServiceActivator} as a subscriber to the 'employeeSearchRequest' channel +2013-03-29 14:05:58,777 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchRequest' has 1 subscriber(s). +2013-03-29 14:05:58,777 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started employeeServiceActivator +2013-03-29 14:05:58,777 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel +2013-03-29 14:05:58,777 INFO [org.springframework.integration.channel.PublishSubscribeChannel] - Channel 'errorChannel' has 1 subscriber(s). +2013-03-29 14:05:58,777 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started _org.springframework.integration.errorLogger +2013-03-29 14:05:58,777 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase 0 +2013-03-29 14:05:58,778 INFO [org.springframework.integration.http.inbound.HttpRequestHandlingController] - started inboundEmployeeSearchRequestGateway +2013-03-29 14:05:58,780 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization completed in 3710 ms +2013-03-29 14:05:58,828 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'Spring Integration Rest HTTP Path Usage': initialization started +2013-03-29 14:05:58,834 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing WebApplicationContext for namespace 'Spring Integration Rest HTTP Path Usage-servlet': startup date [Fri Mar 29 14:05:58 EDT 2013]; parent: Root WebApplicationContext +2013-03-29 14:05:58,837 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1997c457: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@416b724d +2013-03-29 14:05:58,891 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'Spring Integration Rest HTTP Path Usage': initialization completed in 63 ms +2013-03-29 14:06:00,710 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {bridge:null} as a subscriber to the 'employeeSearchResponse' channel +2013-03-29 14:06:00,711 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchResponse' has 1 subscriber(s). +2013-03-29 14:06:00,711 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started org.springframework.integration.endpoint.EventDrivenConsumer@622d8a59 +2013-03-29 14:06:29,707 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing WebApplicationContext for namespace 'Spring Integration Rest HTTP Path Usage-servlet': startup date [Fri Mar 29 14:05:58 EDT 2013]; parent: Root WebApplicationContext +2013-03-29 14:06:29,710 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1997c457: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@416b724d +2013-03-29 14:06:29,711 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing Root WebApplicationContext: startup date [Fri Mar 29 14:05:55 EDT 2013]; root of context hierarchy +2013-03-29 14:06:29,713 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Stopping beans in phase 0 +2013-03-29 14:06:29,714 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {bridge:null} as a subscriber to the 'employeeSearchResponse' channel +2013-03-29 14:06:29,714 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchResponse' has 0 subscriber(s). +2013-03-29 14:06:29,715 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped org.springframework.integration.endpoint.EventDrivenConsumer@622d8a59 +2013-03-29 14:06:29,715 INFO [org.springframework.integration.http.inbound.HttpRequestHandlingController] - stopped inboundEmployeeSearchRequestGateway +2013-03-29 14:06:29,715 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Stopping beans in phase -2147483648 +2013-03-29 14:06:29,715 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {service-activator:employeeServiceActivator} as a subscriber to the 'employeeSearchRequest' channel +2013-03-29 14:06:29,715 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchRequest' has 0 subscriber(s). +2013-03-29 14:06:29,715 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped employeeServiceActivator +2013-03-29 14:06:29,715 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel +2013-03-29 14:06:29,715 INFO [org.springframework.integration.channel.PublishSubscribeChannel] - Channel 'errorChannel' has 0 subscriber(s). +2013-03-29 14:06:29,715 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped _org.springframework.integration.errorLogger +2013-03-29 14:06:29,716 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@416b724d: defining beans [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,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.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,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#0,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,jasyptStringDigester,passwordEncoder,channelInitializer,$autoCreateChannelCandidates,org.springframework.integration.internalDefaultConfiguringBeanFactoryPostProcessor,org.springframework.integration.internalMessagingAnnotationPostProcessor,org.springframework.integration.internalPublisherAnnotationBeanPostProcessor,org.springframework.integration.http.inbound.UriPathHandlerMapping#0,employeeSearchRequest,employeeSearchResponse,inboundEmployeeSearchRequestGateway,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,marshaller,org.springframework.integration.config.ServiceActivatorFactoryBean#0,employeeServiceActivator,jaxbJacksonObjectMapper,employeeSearchService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,nullChannel,errorChannel,_org.springframework.integration.errorLogger,taskScheduler,org.springframework.integration.config.IdGeneratorConfigurer#0]; root of factory hierarchy +2013-03-29 14:06:29,717 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] - Shutting down ExecutorService 'taskScheduler' +2013-03-29 23:29:08,253 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization started +2013-03-29 23:29:08,371 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing Root WebApplicationContext: startup date [Fri Mar 29 23:29:08 EDT 2013]; root of context hierarchy +2013-03-29 23:29:08,464 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/web-application-config.xml] +2013-03-29 23:29:08,743 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/security-config.xml] +2013-03-29 23:29:08,925 INFO [org.springframework.security.core.SpringSecurityCoreVersion] - You are running with Spring Security Core 3.1.3.RELEASE +2013-03-29 23:29:08,926 INFO [org.springframework.security.config.SecurityNamespaceHandler] - Spring Security 'config' module version is 3.1.3.RELEASE +2013-03-29 23:29:09,031 INFO [org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser] - Creating access control expression attribute 'hasRole('ROLE_REST_HTTP_USER')' for /services/employee/* +2013-03-29 23:29:09,072 INFO [org.springframework.security.config.http.AuthenticationConfigBuilder] - No login page configured. The default internal one will be used. Use the 'login-page' attribute to set the URL of the login page. +2013-03-29 23:29:09,106 INFO [org.springframework.security.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.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 = 400, , order = 800, Root bean: class [org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1000, 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 = 1200, 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 = 1300, 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 = 1400, 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 = 1700, 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 = 1800, 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 = 1900, , order = 2000] +2013-03-29 23:29:09,185 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [META-INF/spring/integration/applicationContext-http-int.xml] +2013-03-29 23:29:10,196 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created. +2013-03-29 23:29:10,196 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created. +2013-03-29 23:29:10,412 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean '(inner bean)' of type [class org.springframework.security.access.annotation.SecuredAnnotationSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 23:29:10,447 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0' of type [class org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 23:29:10,458 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.methodSecurityMetadataSourceAdvisor' of type [class org.springframework.security.access.intercept.aopalliance.MethodSecurityMetadataSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 23:29:10,505 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2ff51d36: defining beans [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,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.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,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#0,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,jasyptStringDigester,passwordEncoder,channelInitializer,$autoCreateChannelCandidates,org.springframework.integration.internalDefaultConfiguringBeanFactoryPostProcessor,org.springframework.integration.internalMessagingAnnotationPostProcessor,org.springframework.integration.internalPublisherAnnotationBeanPostProcessor,org.springframework.integration.http.inbound.UriPathHandlerMapping#0,employeeSearchRequest,employeeSearchResponse,inboundEmployeeSearchRequestGateway,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,marshaller,org.springframework.integration.config.ServiceActivatorFactoryBean#0,employeeServiceActivator,jaxbJacksonObjectMapper,employeeSearchService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,nullChannel,errorChannel,_org.springframework.integration.errorLogger,taskScheduler,org.springframework.integration.config.IdGeneratorConfigurer#0]; root of factory hierarchy +2013-03-29 23:29:10,941 INFO [org.springframework.beans.factory.config.PropertiesFactoryBean] - Loading properties file from class path resource [users.properties] +2013-03-29 23:29:26,481 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization started +2013-03-29 23:29:26,586 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing Root WebApplicationContext: startup date [Fri Mar 29 23:29:26 EDT 2013]; root of context hierarchy +2013-03-29 23:29:26,662 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/web-application-config.xml] +2013-03-29 23:29:26,830 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/security-config.xml] +2013-03-29 23:29:26,982 INFO [org.springframework.security.core.SpringSecurityCoreVersion] - You are running with Spring Security Core 3.1.3.RELEASE +2013-03-29 23:29:26,982 INFO [org.springframework.security.config.SecurityNamespaceHandler] - Spring Security 'config' module version is 3.1.3.RELEASE +2013-03-29 23:29:27,080 INFO [org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser] - Creating access control expression attribute 'hasRole('ROLE_REST_HTTP_USER')' for /services/employee/* +2013-03-29 23:29:27,108 INFO [org.springframework.security.config.http.AuthenticationConfigBuilder] - No login page configured. The default internal one will be used. Use the 'login-page' attribute to set the URL of the login page. +2013-03-29 23:29:27,116 INFO [org.springframework.security.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.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 = 400, , order = 800, Root bean: class [org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1000, 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 = 1200, 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 = 1300, 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 = 1400, 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 = 1700, 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 = 1800, 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 = 1900, , order = 2000] +2013-03-29 23:29:27,163 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [META-INF/spring/integration/applicationContext-http-int.xml] +2013-03-29 23:29:27,832 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created. +2013-03-29 23:29:27,833 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created. +2013-03-29 23:29:27,990 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean '(inner bean)' of type [class org.springframework.security.access.annotation.SecuredAnnotationSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 23:29:28,072 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0' of type [class org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 23:29:28,089 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.methodSecurityMetadataSourceAdvisor' of type [class org.springframework.security.access.intercept.aopalliance.MethodSecurityMetadataSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 23:29:28,151 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2d666ada: defining beans [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,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.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,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#0,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,jasyptStringDigester,passwordEncoder,channelInitializer,$autoCreateChannelCandidates,org.springframework.integration.internalDefaultConfiguringBeanFactoryPostProcessor,org.springframework.integration.internalMessagingAnnotationPostProcessor,org.springframework.integration.internalPublisherAnnotationBeanPostProcessor,org.springframework.integration.http.inbound.UriPathHandlerMapping#0,employeeSearchRequest,employeeSearchResponse,inboundEmployeeSearchRequestGateway,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,marshaller,org.springframework.integration.config.ServiceActivatorFactoryBean#0,employeeServiceActivator,jaxbJacksonObjectMapper,employeeSearchService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,nullChannel,errorChannel,_org.springframework.integration.errorLogger,taskScheduler,org.springframework.integration.config.IdGeneratorConfigurer#0]; root of factory hierarchy +2013-03-29 23:29:28,567 INFO [org.springframework.beans.factory.config.PropertiesFactoryBean] - Loading properties file from class path resource [users.properties] +2013-03-29 23:29:29,592 INFO [org.springframework.security.web.DefaultSecurityFilterChain] - Creating filter chain: org.springframework.security.web.util.AnyRequestMatcher@1, [org.springframework.security.web.context.SecurityContextPersistenceFilter@5e0e5f1d, org.springframework.security.web.authentication.logout.LogoutFilter@1869929, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@2bb15387, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@6e2da7a, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@1775831e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@23f3329a, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@337f2ee6, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@62e01873, org.springframework.security.web.session.SessionManagementFilter@666558bb, org.springframework.security.web.access.ExceptionTranslationFilter@7a49182, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@454cf1b9] +2013-03-29 23:29:30,052 INFO [org.springframework.integration.http.inbound.UriPathHandlerMapping] - Mapped URL path [/services/employee/{id}/search] onto handler 'inboundEmployeeSearchRequestGateway' +2013-03-29 23:29:30,166 INFO [org.springframework.oxm.jaxb.Jaxb2Marshaller] - Creating JAXBContext with context path [org.springframework.integration.samples.rest.domain] +2013-03-29 23:29:30,287 WARN [org.springframework.web.servlet.view.ContentNegotiatingViewResolver] - Did not find any ViewResolvers to delegate to; please configure them using the 'viewResolvers' property on the ContentNegotiatingViewResolver +2013-03-29 23:29:30,575 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] - Initializing ExecutorService 'taskScheduler' +2013-03-29 23:29:30,599 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase -2147483648 +2013-03-29 23:29:30,599 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {service-activator:employeeServiceActivator} as a subscriber to the 'employeeSearchRequest' channel +2013-03-29 23:29:30,600 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchRequest' has 1 subscriber(s). +2013-03-29 23:29:30,600 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started employeeServiceActivator +2013-03-29 23:29:30,600 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel +2013-03-29 23:29:30,600 INFO [org.springframework.integration.channel.PublishSubscribeChannel] - Channel 'errorChannel' has 1 subscriber(s). +2013-03-29 23:29:30,601 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started _org.springframework.integration.errorLogger +2013-03-29 23:29:30,601 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase 0 +2013-03-29 23:29:30,601 INFO [org.springframework.integration.http.inbound.HttpRequestHandlingController] - started inboundEmployeeSearchRequestGateway +2013-03-29 23:29:30,605 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization completed in 4123 ms +2013-03-29 23:29:30,661 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'Spring Integration Rest HTTP Path Usage': initialization started +2013-03-29 23:29:30,668 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing WebApplicationContext for namespace 'Spring Integration Rest HTTP Path Usage-servlet': startup date [Fri Mar 29 23:29:30 EDT 2013]; parent: Root WebApplicationContext +2013-03-29 23:29:30,672 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@68de59f0: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@2d666ada +2013-03-29 23:29:30,754 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'Spring Integration Rest HTTP Path Usage': initialization completed in 92 ms +2013-03-29 23:29:32,921 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {bridge:null} as a subscriber to the 'employeeSearchResponse' channel +2013-03-29 23:29:32,921 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchResponse' has 1 subscriber(s). +2013-03-29 23:29:32,922 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started org.springframework.integration.endpoint.EventDrivenConsumer@65dfb0b5 +2013-03-29 23:29:34,650 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing WebApplicationContext for namespace 'Spring Integration Rest HTTP Path Usage-servlet': startup date [Fri Mar 29 23:29:30 EDT 2013]; parent: Root WebApplicationContext +2013-03-29 23:29:34,651 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@68de59f0: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@2d666ada +2013-03-29 23:29:34,652 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing Root WebApplicationContext: startup date [Fri Mar 29 23:29:26 EDT 2013]; root of context hierarchy +2013-03-29 23:29:34,655 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Stopping beans in phase 0 +2013-03-29 23:29:34,656 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {bridge:null} as a subscriber to the 'employeeSearchResponse' channel +2013-03-29 23:29:34,656 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchResponse' has 0 subscriber(s). +2013-03-29 23:29:34,656 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped org.springframework.integration.endpoint.EventDrivenConsumer@65dfb0b5 +2013-03-29 23:29:34,656 INFO [org.springframework.integration.http.inbound.HttpRequestHandlingController] - stopped inboundEmployeeSearchRequestGateway +2013-03-29 23:29:34,656 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Stopping beans in phase -2147483648 +2013-03-29 23:29:34,656 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {service-activator:employeeServiceActivator} as a subscriber to the 'employeeSearchRequest' channel +2013-03-29 23:29:34,656 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchRequest' has 0 subscriber(s). +2013-03-29 23:29:34,657 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped employeeServiceActivator +2013-03-29 23:29:34,657 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel +2013-03-29 23:29:34,657 INFO [org.springframework.integration.channel.PublishSubscribeChannel] - Channel 'errorChannel' has 0 subscriber(s). +2013-03-29 23:29:34,657 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped _org.springframework.integration.errorLogger +2013-03-29 23:29:34,657 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2d666ada: defining beans [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,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.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,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#0,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,jasyptStringDigester,passwordEncoder,channelInitializer,$autoCreateChannelCandidates,org.springframework.integration.internalDefaultConfiguringBeanFactoryPostProcessor,org.springframework.integration.internalMessagingAnnotationPostProcessor,org.springframework.integration.internalPublisherAnnotationBeanPostProcessor,org.springframework.integration.http.inbound.UriPathHandlerMapping#0,employeeSearchRequest,employeeSearchResponse,inboundEmployeeSearchRequestGateway,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,marshaller,org.springframework.integration.config.ServiceActivatorFactoryBean#0,employeeServiceActivator,jaxbJacksonObjectMapper,employeeSearchService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,nullChannel,errorChannel,_org.springframework.integration.errorLogger,taskScheduler,org.springframework.integration.config.IdGeneratorConfigurer#0]; root of factory hierarchy +2013-03-29 23:29:34,658 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] - Shutting down ExecutorService 'taskScheduler' +2013-03-29 23:39:03,405 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization started +2013-03-29 23:39:03,523 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing Root WebApplicationContext: startup date [Fri Mar 29 23:39:03 EDT 2013]; root of context hierarchy +2013-03-29 23:39:03,619 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/web-application-config.xml] +2013-03-29 23:39:03,760 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/security-config.xml] +2013-03-29 23:39:03,911 INFO [org.springframework.security.core.SpringSecurityCoreVersion] - You are running with Spring Security Core 3.1.3.RELEASE +2013-03-29 23:39:03,912 INFO [org.springframework.security.config.SecurityNamespaceHandler] - Spring Security 'config' module version is 3.1.3.RELEASE +2013-03-29 23:39:04,029 INFO [org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser] - Creating access control expression attribute 'hasRole('ROLE_REST_HTTP_USER')' for /services/employee/* +2013-03-29 23:39:04,053 INFO [org.springframework.security.config.http.AuthenticationConfigBuilder] - No login page configured. The default internal one will be used. Use the 'login-page' attribute to set the URL of the login page. +2013-03-29 23:39:04,061 INFO [org.springframework.security.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.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 = 400, , order = 800, Root bean: class [org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1000, 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 = 1200, 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 = 1300, 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 = 1400, 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 = 1700, 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 = 1800, 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 = 1900, , order = 2000] +2013-03-29 23:39:04,097 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [META-INF/spring/integration/applicationContext-http-int.xml] +2013-03-29 23:39:04,762 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created. +2013-03-29 23:39:04,762 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created. +2013-03-29 23:39:04,971 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean '(inner bean)' of type [class org.springframework.security.access.annotation.SecuredAnnotationSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 23:39:05,012 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0' of type [class org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 23:39:05,035 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.methodSecurityMetadataSourceAdvisor' of type [class org.springframework.security.access.intercept.aopalliance.MethodSecurityMetadataSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-29 23:39:05,086 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@3bc8d400: defining beans [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,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.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,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#0,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,jasyptStringDigester,passwordEncoder,channelInitializer,$autoCreateChannelCandidates,org.springframework.integration.internalDefaultConfiguringBeanFactoryPostProcessor,org.springframework.integration.internalMessagingAnnotationPostProcessor,org.springframework.integration.internalPublisherAnnotationBeanPostProcessor,org.springframework.integration.http.inbound.UriPathHandlerMapping#0,employeeSearchRequest,employeeSearchResponse,inboundEmployeeSearchRequestGateway,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,marshaller,org.springframework.integration.config.ServiceActivatorFactoryBean#0,employeeServiceActivator,jaxbJacksonObjectMapper,employeeSearchService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,nullChannel,errorChannel,_org.springframework.integration.errorLogger,taskScheduler,org.springframework.integration.config.IdGeneratorConfigurer#0]; root of factory hierarchy +2013-03-29 23:39:05,555 INFO [org.springframework.beans.factory.config.PropertiesFactoryBean] - Loading properties file from class path resource [users.properties] +2013-03-29 23:39:06,895 INFO [org.springframework.security.web.DefaultSecurityFilterChain] - Creating filter chain: org.springframework.security.web.util.AnyRequestMatcher@1, [org.springframework.security.web.context.SecurityContextPersistenceFilter@62363bce, org.springframework.security.web.authentication.logout.LogoutFilter@569083c1, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@29ba204d, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@7a9eb4a1, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4964f4eb, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@30b95f2, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@6da1446d, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@76938855, org.springframework.security.web.session.SessionManagementFilter@4fdbc144, org.springframework.security.web.access.ExceptionTranslationFilter@646d8051, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@51037959] +2013-03-29 23:39:07,440 INFO [org.springframework.integration.http.inbound.UriPathHandlerMapping] - Mapped URL path [/services/employee/{id}/search] onto handler 'inboundEmployeeSearchRequestGateway' +2013-03-29 23:39:07,558 INFO [org.springframework.oxm.jaxb.Jaxb2Marshaller] - Creating JAXBContext with context path [org.springframework.integration.samples.rest.domain] +2013-03-29 23:39:07,704 WARN [org.springframework.web.servlet.view.ContentNegotiatingViewResolver] - Did not find any ViewResolvers to delegate to; please configure them using the 'viewResolvers' property on the ContentNegotiatingViewResolver +2013-03-29 23:39:07,986 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] - Initializing ExecutorService 'taskScheduler' +2013-03-29 23:39:08,008 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase -2147483648 +2013-03-29 23:39:08,009 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {service-activator:employeeServiceActivator} as a subscriber to the 'employeeSearchRequest' channel +2013-03-29 23:39:08,009 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchRequest' has 1 subscriber(s). +2013-03-29 23:39:08,009 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started employeeServiceActivator +2013-03-29 23:39:08,010 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel +2013-03-29 23:39:08,010 INFO [org.springframework.integration.channel.PublishSubscribeChannel] - Channel 'errorChannel' has 1 subscriber(s). +2013-03-29 23:39:08,010 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started _org.springframework.integration.errorLogger +2013-03-29 23:39:08,010 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase 0 +2013-03-29 23:39:08,010 INFO [org.springframework.integration.http.inbound.HttpRequestHandlingController] - started inboundEmployeeSearchRequestGateway +2013-03-29 23:39:08,013 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization completed in 4607 ms +2013-03-29 23:39:08,097 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'Spring Integration Rest HTTP Path Usage': initialization started +2013-03-29 23:39:08,106 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing WebApplicationContext for namespace 'Spring Integration Rest HTTP Path Usage-servlet': startup date [Fri Mar 29 23:39:08 EDT 2013]; parent: Root WebApplicationContext +2013-03-29 23:39:08,109 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@41639ff: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@3bc8d400 +2013-03-29 23:39:08,200 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'Spring Integration Rest HTTP Path Usage': initialization completed in 103 ms +2013-03-29 23:39:10,308 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {bridge:null} as a subscriber to the 'employeeSearchResponse' channel +2013-03-29 23:39:10,309 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchResponse' has 1 subscriber(s). +2013-03-29 23:39:10,309 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started org.springframework.integration.endpoint.EventDrivenConsumer@349d52ac +2013-03-29 23:42:27,778 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing WebApplicationContext for namespace 'Spring Integration Rest HTTP Path Usage-servlet': startup date [Fri Mar 29 23:39:08 EDT 2013]; parent: Root WebApplicationContext +2013-03-29 23:42:27,779 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@41639ff: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@3bc8d400 +2013-03-29 23:42:27,779 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing Root WebApplicationContext: startup date [Fri Mar 29 23:39:03 EDT 2013]; root of context hierarchy +2013-03-29 23:42:27,782 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Stopping beans in phase 0 +2013-03-29 23:42:27,783 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {bridge:null} as a subscriber to the 'employeeSearchResponse' channel +2013-03-29 23:42:27,783 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchResponse' has 0 subscriber(s). +2013-03-29 23:42:27,783 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped org.springframework.integration.endpoint.EventDrivenConsumer@349d52ac +2013-03-29 23:42:27,783 INFO [org.springframework.integration.http.inbound.HttpRequestHandlingController] - stopped inboundEmployeeSearchRequestGateway +2013-03-29 23:42:27,783 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Stopping beans in phase -2147483648 +2013-03-29 23:42:27,784 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {service-activator:employeeServiceActivator} as a subscriber to the 'employeeSearchRequest' channel +2013-03-29 23:42:27,784 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchRequest' has 0 subscriber(s). +2013-03-29 23:42:27,784 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped employeeServiceActivator +2013-03-29 23:42:27,784 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel +2013-03-29 23:42:27,784 INFO [org.springframework.integration.channel.PublishSubscribeChannel] - Channel 'errorChannel' has 0 subscriber(s). +2013-03-29 23:42:27,784 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped _org.springframework.integration.errorLogger +2013-03-29 23:42:27,784 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@3bc8d400: defining beans [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,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.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,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#0,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,jasyptStringDigester,passwordEncoder,channelInitializer,$autoCreateChannelCandidates,org.springframework.integration.internalDefaultConfiguringBeanFactoryPostProcessor,org.springframework.integration.internalMessagingAnnotationPostProcessor,org.springframework.integration.internalPublisherAnnotationBeanPostProcessor,org.springframework.integration.http.inbound.UriPathHandlerMapping#0,employeeSearchRequest,employeeSearchResponse,inboundEmployeeSearchRequestGateway,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,marshaller,org.springframework.integration.config.ServiceActivatorFactoryBean#0,employeeServiceActivator,jaxbJacksonObjectMapper,employeeSearchService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,nullChannel,errorChannel,_org.springframework.integration.errorLogger,taskScheduler,org.springframework.integration.config.IdGeneratorConfigurer#0]; root of factory hierarchy +2013-03-29 23:42:27,785 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] - Shutting down ExecutorService 'taskScheduler' +2013-03-30 00:52:50,466 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization started +2013-03-30 00:52:50,579 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing Root WebApplicationContext: startup date [Sat Mar 30 00:52:50 EDT 2013]; root of context hierarchy +2013-03-30 00:52:50,675 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/web-application-config.xml] +2013-03-30 00:52:50,823 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/security-config.xml] +2013-03-30 00:52:50,972 INFO [org.springframework.security.core.SpringSecurityCoreVersion] - You are running with Spring Security Core 3.1.3.RELEASE +2013-03-30 00:52:50,972 INFO [org.springframework.security.config.SecurityNamespaceHandler] - Spring Security 'config' module version is 3.1.3.RELEASE +2013-03-30 00:52:51,078 INFO [org.springframework.security.config.http.FilterInvocationSecurityMetadataSourceParser] - Creating access control expression attribute 'hasRole('ROLE_REST_HTTP_USER')' for /services/employee/* +2013-03-30 00:52:51,103 INFO [org.springframework.security.config.http.AuthenticationConfigBuilder] - No login page configured. The default internal one will be used. Use the 'login-page' attribute to set the URL of the login page. +2013-03-30 00:52:51,111 INFO [org.springframework.security.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.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 = 400, , order = 800, Root bean: class [org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1000, 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 = 1200, 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 = 1300, 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 = 1400, 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 = 1700, 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 = 1800, 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 = 1900, , order = 2000] +2013-03-30 00:52:51,151 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [META-INF/spring/integration/applicationContext-http-int.xml] +2013-03-30 00:52:51,803 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created. +2013-03-30 00:52:51,803 INFO [org.springframework.integration.config.xml.DefaultConfiguringBeanFactoryPostProcessor] - No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created. +2013-03-30 00:52:51,966 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean '(inner bean)' of type [class org.springframework.security.access.annotation.SecuredAnnotationSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-30 00:52:51,999 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0' of type [class org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-30 00:52:52,021 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.security.methodSecurityMetadataSourceAdvisor' of type [class org.springframework.security.access.intercept.aopalliance.MethodSecurityMetadataSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2013-03-30 00:52:52,057 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@58773ac1: defining beans [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,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.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,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#0,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,jasyptStringDigester,passwordEncoder,channelInitializer,$autoCreateChannelCandidates,org.springframework.integration.internalDefaultConfiguringBeanFactoryPostProcessor,org.springframework.integration.internalMessagingAnnotationPostProcessor,org.springframework.integration.internalPublisherAnnotationBeanPostProcessor,org.springframework.integration.http.inbound.UriPathHandlerMapping#0,employeeSearchRequest,employeeSearchResponse,inboundEmployeeSearchRequestGateway,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,marshaller,org.springframework.integration.config.ServiceActivatorFactoryBean#0,employeeServiceActivator,jaxbJacksonObjectMapper,employeeSearchService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,nullChannel,errorChannel,_org.springframework.integration.errorLogger,taskScheduler,org.springframework.integration.config.IdGeneratorConfigurer#0]; root of factory hierarchy +2013-03-30 00:52:52,450 INFO [org.springframework.beans.factory.config.PropertiesFactoryBean] - Loading properties file from class path resource [users.properties] +2013-03-30 00:52:53,846 INFO [org.springframework.security.web.DefaultSecurityFilterChain] - Creating filter chain: org.springframework.security.web.util.AnyRequestMatcher@1, [org.springframework.security.web.context.SecurityContextPersistenceFilter@292c92f2, org.springframework.security.web.authentication.logout.LogoutFilter@2d6362fc, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@57f7a5ab, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@439daaab, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@242fe33b, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@43ef490c, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@12a4d5ac, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@3c818c4, org.springframework.security.web.session.SessionManagementFilter@45d1edcc, org.springframework.security.web.access.ExceptionTranslationFilter@59530fe3, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@5c382de5] +2013-03-30 00:52:54,811 INFO [org.springframework.integration.http.inbound.UriPathHandlerMapping] - Mapped URL path [/services/employee/{id}/search] onto handler 'inboundEmployeeSearchRequestGateway' +2013-03-30 00:52:55,054 INFO [org.springframework.oxm.jaxb.Jaxb2Marshaller] - Creating JAXBContext with context path [org.springframework.integration.samples.rest.domain] +2013-03-30 00:52:55,238 WARN [org.springframework.web.servlet.view.ContentNegotiatingViewResolver] - Did not find any ViewResolvers to delegate to; please configure them using the 'viewResolvers' property on the ContentNegotiatingViewResolver +2013-03-30 00:52:55,730 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] - Initializing ExecutorService 'taskScheduler' +2013-03-30 00:52:55,775 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase -2147483648 +2013-03-30 00:52:55,775 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {service-activator:employeeServiceActivator} as a subscriber to the 'employeeSearchRequest' channel +2013-03-30 00:52:55,776 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchRequest' has 1 subscriber(s). +2013-03-30 00:52:55,776 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started employeeServiceActivator +2013-03-30 00:52:55,777 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel +2013-03-30 00:52:55,777 INFO [org.springframework.integration.channel.PublishSubscribeChannel] - Channel 'errorChannel' has 1 subscriber(s). +2013-03-30 00:52:55,778 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started _org.springframework.integration.errorLogger +2013-03-30 00:52:55,778 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Starting beans in phase 0 +2013-03-30 00:52:55,778 INFO [org.springframework.integration.http.inbound.HttpRequestHandlingController] - started inboundEmployeeSearchRequestGateway +2013-03-30 00:52:55,783 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization completed in 5317 ms +2013-03-30 00:52:55,846 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'Spring Integration Rest HTTP Path Usage': initialization started +2013-03-30 00:52:55,857 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing WebApplicationContext for namespace 'Spring Integration Rest HTTP Path Usage-servlet': startup date [Sat Mar 30 00:52:55 EDT 2013]; parent: Root WebApplicationContext +2013-03-30 00:52:55,861 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6dab307c: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@58773ac1 +2013-03-30 00:52:55,969 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'Spring Integration Rest HTTP Path Usage': initialization completed in 123 ms +2013-03-30 00:52:59,006 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Adding {bridge:null} as a subscriber to the 'employeeSearchResponse' channel +2013-03-30 00:52:59,007 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchResponse' has 1 subscriber(s). +2013-03-30 00:52:59,008 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - started org.springframework.integration.endpoint.EventDrivenConsumer@44a06d88 +2013-03-30 00:53:00,702 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing WebApplicationContext for namespace 'Spring Integration Rest HTTP Path Usage-servlet': startup date [Sat Mar 30 00:52:55 EDT 2013]; parent: Root WebApplicationContext +2013-03-30 00:53:00,703 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6dab307c: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@58773ac1 +2013-03-30 00:53:00,704 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing Root WebApplicationContext: startup date [Sat Mar 30 00:52:50 EDT 2013]; root of context hierarchy +2013-03-30 00:53:00,706 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Stopping beans in phase 0 +2013-03-30 00:53:00,708 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {bridge:null} as a subscriber to the 'employeeSearchResponse' channel +2013-03-30 00:53:00,708 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchResponse' has 0 subscriber(s). +2013-03-30 00:53:00,708 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped org.springframework.integration.endpoint.EventDrivenConsumer@44a06d88 +2013-03-30 00:53:00,708 INFO [org.springframework.integration.http.inbound.HttpRequestHandlingController] - stopped inboundEmployeeSearchRequestGateway +2013-03-30 00:53:00,708 INFO [org.springframework.context.support.DefaultLifecycleProcessor] - Stopping beans in phase -2147483648 +2013-03-30 00:53:00,708 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {service-activator:employeeServiceActivator} as a subscriber to the 'employeeSearchRequest' channel +2013-03-30 00:53:00,708 INFO [org.springframework.integration.channel.DirectChannel] - Channel 'employeeSearchRequest' has 0 subscriber(s). +2013-03-30 00:53:00,708 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped employeeServiceActivator +2013-03-30 00:53:00,709 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - Removing {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel +2013-03-30 00:53:00,709 INFO [org.springframework.integration.channel.PublishSubscribeChannel] - Channel 'errorChannel' has 0 subscriber(s). +2013-03-30 00:53:00,709 INFO [org.springframework.integration.endpoint.EventDrivenConsumer] - stopped _org.springframework.integration.errorLogger +2013-03-30 00:53:00,709 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@58773ac1: defining beans [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,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.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,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#0,org.springframework.security.provisioning.InMemoryUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,jasyptStringDigester,passwordEncoder,channelInitializer,$autoCreateChannelCandidates,org.springframework.integration.internalDefaultConfiguringBeanFactoryPostProcessor,org.springframework.integration.internalMessagingAnnotationPostProcessor,org.springframework.integration.internalPublisherAnnotationBeanPostProcessor,org.springframework.integration.http.inbound.UriPathHandlerMapping#0,employeeSearchRequest,employeeSearchResponse,inboundEmployeeSearchRequestGateway,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,marshaller,org.springframework.integration.config.ServiceActivatorFactoryBean#0,employeeServiceActivator,jaxbJacksonObjectMapper,employeeSearchService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,nullChannel,errorChannel,_org.springframework.integration.errorLogger,taskScheduler,org.springframework.integration.config.IdGeneratorConfigurer#0]; root of factory hierarchy +2013-03-30 00:53:00,709 INFO [org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] - Shutting down ExecutorService 'taskScheduler'