Attaching the Logs
Debug Logs
Code:
2012-05-26 03:10:29,668 +0530 [] DEBUG [qtp970799122-37] org.springframework.security.web.FilterChainProxy#getFilters(195) - Converted URL to lowercase, from: '/app/user/role'; to: '/app/user/role'
2012-05-26 03:10:29,668 +0530 [] DEBUG [qtp970799122-37] org.springframework.security.web.FilterChainProxy#getFilters(202) - Candidate is: '/app/user/role'; pattern is /**; matched=true
2012-05-26 03:10:29,669 +0530 [] DEBUG [qtp970799122-37] org.springframework.security.web.FilterChainProxy#doFilter(375) - /app/user/role at position 1 of 8 in additional filter chain; firing Filter: 'SecurityContextPersistenceFilter'
2012-05-26 03:10:29,669 +0530 [] DEBUG [qtp970799122-37] org.springframework.security.web.context.HttpSessionSecurityContextRepository#readSecurityContextFromSession(130) - No HttpSession currently exists
2012-05-26 03:10:29,669 +0530 [] DEBUG [qtp970799122-37] org.springframework.security.web.context.HttpSessionSecurityContextRepository#loadContext(88) - No SecurityContext was available from the HttpSession: null. A new one will be created.
2012-05-26 03:10:29,669 +0530 [] DEBUG [qtp970799122-37] org.springframework.security.web.FilterChainProxy#doFilter(375) - /app/user/role at position 2 of 8 in additional filter chain; firing Filter: 'UsernamePasswordAuthenticationFilter'
2012-05-26 03:10:29,669 +0530 [] DEBUG [qtp970799122-37] org.springframework.security.web.FilterChainProxy#doFilter(375) - /app/user/role at position 3 of 8 in additional filter chain; firing Filter: 'RequestCacheAwareFilter'
2012-05-26 03:10:29,669 +0530 [] DEBUG [qtp970799122-37] org.springframework.security.web.FilterChainProxy#doFilter(375) - /app/user/role at position 4 of 8 in additional filter chain; firing Filter: 'SecurityContextHolderAwareRequestFilter'
2012-05-26 03:10:29,669 +0530 [] DEBUG [qtp970799122-37] org.springframework.security.web.FilterChainProxy#doFilter(375) - /app/user/role at position 5 of 8 in additional filter chain; firing Filter: 'AnonymousAuthenticationFilter'
2012-05-26 03:10:29,669 +0530 [] DEBUG [qtp970799122-37] org.springframework.security.web.authentication.AnonymousAuthenticationFilter#doFilter(67) - Populated SecurityContextHolder with anonymous token: 'org.springframework.security.authentication.AnonymousAuthenticationToken@9055e4a6: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS'
2012-05-26 03:10:29,669 +0530 [] DEBUG [qtp970799122-37] org.springframework.security.web.FilterChainProxy#doFilter(375) - /app/user/role at position 6 of 8 in additional filter chain; firing Filter: 'SessionManagementFilter'
2012-05-26 03:10:29,670 +0530 [] DEBUG [qtp970799122-37] org.springframework.security.web.FilterChainProxy#doFilter(375) - /app/user/role at position 7 of 8 in additional filter chain; firing Filter: 'ExceptionTranslationFilter'
2012-05-26 03:10:29,670 +0530 [] DEBUG [qtp970799122-37] org.springframework.security.web.FilterChainProxy#doFilter(375) - /app/user/role at position 8 of 8 in additional filter chain; firing Filter: 'FilterSecurityInterceptor'
2012-05-26 03:10:29,670 +0530 [] DEBUG [qtp970799122-37] org.springframework.security.web.access.expression.ExpressionBasedFilterInvocationSecurityMetadataSource#lookupAttributes(173) - Converted URL to lowercase, from: '/app/user/role'; to: '/app/user/role'
2012-05-26 03:10:29,670 +0530 [] DEBUG [qtp970799122-37] org.springframework.security.web.access.intercept.FilterSecurityInterceptor#beforeInvocation(182) - Public object - authentication not attempted
2012-05-26 03:10:29,670 +0530 [] DEBUG [qtp970799122-37] org.springframework.security.web.FilterChainProxy#doFilter(362) - /app/user/role reached end of additional filter chain; proceeding with original chain
2012-05-26 03:10:29,670 +0530 [] DEBUG [qtp970799122-37] org.springframework.web.servlet.DispatcherServlet#doService(693) - DispatcherServlet with name 'mvc-dispatcher' processing GET request for [testapp/app/user/role]
2012-05-26 03:10:29,670 +0530 [] DEBUG [qtp970799122-37] org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#getHandlerInternal(221) - Mapping [/user/role] to HandlerExecutionChain with handler [com.controller.UserController@5bfd9b49] and 2 interceptors
2012-05-26 03:10:29,671 +0530 [] DEBUG [qtp970799122-37] org.springframework.web.servlet.DispatcherServlet#doDispatch(769) - Last-Modified value for [testapp/app/user/role] is: -1
2012-05-26 03:10:29,671 +0530 [] DEBUG [qtp970799122-37] org.springframework.web.bind.annotation.support.HandlerMethodInvoker#invokeHandlerMethod(173) - Invoking request handler method: public java.lang.String com.controller.UserController.getUserRoleData()
2012-05-26 03:10:29,672 +0530 [] DEBUG [qtp970799122-37] org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#writeWithMessageConverters(981) - Written [/home.html] as "text/html" using [org.springframework.http.converter.StringHttpMessageConverter@1653033e]
2012-05-26 03:10:29,672 +0530 [] DEBUG [qtp970799122-37] org.springframework.web.servlet.DispatcherServlet#doDispatch(824) - Null ModelAndView returned to DispatcherServlet with name 'mvc-dispatcher': assuming HandlerAdapter completed request handling
2012-05-26 03:10:29,672 +0530 [] DEBUG [qtp970799122-37] org.springframework.web.servlet.DispatcherServlet#processRequest(674) - Successfully completed request
2012-05-26 03:10:29,672 +0530 [] DEBUG [qtp970799122-37] org.springframework.security.web.access.ExceptionTranslationFilter#doFilter(100) - Chain processed normally
2012-05-26 03:10:29,672 +0530 [] DEBUG [qtp970799122-37] org.springframework.security.web.context.HttpSessionSecurityContextRepository#saveContext(338) - SecurityContext is empty or anonymous - context will not be stored in HttpSession.
2012-05-26 03:10:29,673 +0530 [] DEBUG [qtp970799122-37] org.springframework.security.web.context.SecurityContextPersistenceFilter#doFilter(89) - SecurityContextHolder now cleared, as request processing completed