· 7 years ago · Mar 22, 2018, 09:34 PM
122:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/oauth/token']
222:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/oauth/authorize'; against '/oauth/token'
322:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/oauth/token_key']
422:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/oauth/authorize'; against '/oauth/token_key'
522:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/oauth/check_token']
622:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/oauth/authorize'; against '/oauth/check_token'
722:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - No matches found
822:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/login']
922:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/oauth/authorize'; against '/login'
1022:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/oauth/authorize']
1122:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/oauth/authorize'; against '/oauth/authorize'
1222:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - matched
1322:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/authorize at position 1 of 12 in additional filter chain; firing Filter: 'WebAsyncManagerIntegrationFilter'
1422:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/authorize at position 2 of 12 in additional filter chain; firing Filter: 'SecurityContextPersistenceFilter'
1522:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.context.HttpSessionSecurityContextRepository - Obtained a valid SecurityContext from SPRING_SECURITY_CONTEXT: 'org.springframework.security.core.context.SecurityContextImpl@69da7710: Authentication: org.springframework.security.authentication.UsernamePasswordAuthenticationToken@69da7710: Principal: com.hitmax.server.mvc.dao.service.user.AuthenticationService$1@2dc4f5d4; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@380f4: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: A732887FFAE3B5401547243DBA551212; Granted Authorities: ROLE_USER'
1622:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/authorize at position 3 of 12 in additional filter chain; firing Filter: 'HeaderWriterFilter'
1722:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/authorize at position 4 of 12 in additional filter chain; firing Filter: 'CsrfFilter'
1822:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/authorize at position 5 of 12 in additional filter chain; firing Filter: 'LogoutFilter'
1922:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/oauth/authorize'; against '/logout'
2022:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/authorize at position 6 of 12 in additional filter chain; firing Filter: 'UsernamePasswordAuthenticationFilter'
2122:18:54.374 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/oauth/authorize'; against '/login'
2222:18:54.375 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/authorize at position 7 of 12 in additional filter chain; firing Filter: 'RequestCacheAwareFilter'
2322:18:54.375 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/authorize at position 8 of 12 in additional filter chain; firing Filter: 'SecurityContextHolderAwareRequestFilter'
2422:18:54.375 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/authorize at position 9 of 12 in additional filter chain; firing Filter: 'AnonymousAuthenticationFilter'
2522:18:54.375 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.authentication.AnonymousAuthenticationFilter - SecurityContextHolder not populated with anonymous token, as it already contained: 'org.springframework.security.authentication.UsernamePasswordAuthenticationToken@69da7710: Principal: com.hitmax.server.mvc.dao.service.user.AuthenticationService$1@2dc4f5d4; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@380f4: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: A732887FFAE3B5401547243DBA551212; Granted Authorities: ROLE_USER'
2622:18:54.375 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/authorize at position 10 of 12 in additional filter chain; firing Filter: 'SessionManagementFilter'
2722:18:54.375 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/authorize at position 11 of 12 in additional filter chain; firing Filter: 'ExceptionTranslationFilter'
2822:18:54.375 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/authorize at position 12 of 12 in additional filter chain; firing Filter: 'FilterSecurityInterceptor'
2922:18:54.375 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptor - Secure object: FilterInvocation: URL: /oauth/authorize; Attributes: [authenticated]
3022:18:54.375 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptor - Previously Authenticated: org.springframework.security.authentication.UsernamePasswordAuthenticationToken@69da7710: Principal: com.hitmax.server.mvc.dao.service.user.AuthenticationService$1@2dc4f5d4; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@380f4: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: A732887FFAE3B5401547243DBA551212; Granted Authorities: ROLE_USER
3122:18:54.375 [http-nio-8080-exec-4] DEBUG org.springframework.security.access.vote.AffirmativeBased - Voter: org.springframework.security.web.access.expression.WebExpressionVoter@1f1562d8, returned: 1
3222:18:54.375 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptor - Authorization successful
3322:18:54.375 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptor - RunAsManager did not change Authentication object
3422:18:54.375 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/authorize reached end of additional filter chain; proceeding with original chain
35Filtering on...........................................................
3622:18:54.375 [http-nio-8080-exec-4] DEBUG org.springframework.web.servlet.DispatcherServlet - DispatcherServlet with name 'dispatcher' processing POST request for [/oauth/authorize]
3722:18:54.376 [http-nio-8080-exec-4] DEBUG org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping - Looking up handler method for path /oauth/authorize
3822:18:54.377 [http-nio-8080-exec-4] DEBUG org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping - Did not find handler method for [/oauth/authorize]
3922:18:54.377 [http-nio-8080-exec-4] DEBUG org.springframework.security.oauth2.provider.endpoint.FrameworkEndpointHandlerMapping - Looking up handler method for path /oauth/authorize
4022:18:54.383 [http-nio-8080-exec-4] DEBUG org.springframework.security.oauth2.provider.endpoint.FrameworkEndpointHandlerMapping - Returning handler method [public org.springframework.web.servlet.View org.springframework.security.oauth2.provider.endpoint.AuthorizationEndpoint.approveOrDeny(java.util.Map<java.lang.String, java.lang.String>,java.util.Map<java.lang.String, ?>,org.springframework.web.bind.support.SessionStatus,java.security.Principal)]
4122:18:54.383 [http-nio-8080-exec-4] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'authorizationEndpoint'
4222:18:54.383 [http-nio-8080-exec-4] DEBUG org.springframework.web.cors.DefaultCorsProcessor - Skip CORS processing: response already contains "Access-Control-Allow-Origin" header
4322:18:54.385 [http-nio-8080-exec-4] DEBUG org.springframework.web.servlet.DispatcherServlet - Rendering view [org.springframework.web.servlet.view.RedirectView: unnamed; URL [http://localhost:8080/?code=lLINuz]] in DispatcherServlet with name 'dispatcher'
4422:18:54.385 [http-nio-8080-exec-4] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'requestDataValueProcessor'
4522:18:54.385 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.header.writers.HstsHeaderWriter - Not injecting HSTS header since it did not match the requestMatcher org.springframework.security.web.header.writers.HstsHeaderWriter$SecureRequestMatcher@28ff3420
4622:18:54.385 [http-nio-8080-exec-4] DEBUG org.springframework.web.servlet.DispatcherServlet - Successfully completed request
4722:18:54.385 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.access.ExceptionTranslationFilter - Chain processed normally
4822:18:54.385 [http-nio-8080-exec-4] DEBUG org.springframework.security.web.context.SecurityContextPersistenceFilter - SecurityContextHolder now cleared, as request processing completed
4922:18:54.470 [http-nio-8080-exec-5] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/oauth/token']
5022:18:54.470 [http-nio-8080-exec-5] DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/'; against '/oauth/token'
5122:18:54.470 [http-nio-8080-exec-5] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/oauth/token_key']
5222:18:54.470 [http-nio-8080-exec-5] DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/'; against '/oauth/token_key'
5322:18:54.470 [http-nio-8080-exec-5] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/oauth/check_token']
5422:18:54.470 [http-nio-8080-exec-5] DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/'; against '/oauth/check_token'
5522:18:54.470 [http-nio-8080-exec-5] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - No matches found
5622:18:54.470 [http-nio-8080-exec-5] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/login']
5722:18:54.470 [http-nio-8080-exec-5] DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/'; against '/login'
5822:18:54.470 [http-nio-8080-exec-5] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/oauth/authorize']
5922:18:54.470 [http-nio-8080-exec-5] DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/'; against '/oauth/authorize'
6022:18:54.470 [http-nio-8080-exec-5] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - No matches found
6122:18:54.470 [http-nio-8080-exec-5] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/protected/**']
6222:18:54.470 [http-nio-8080-exec-5] DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/'; against '/protected/**'
6322:18:54.470 [http-nio-8080-exec-5] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - No matches found
6422:18:54.470 [http-nio-8080-exec-5] DEBUG org.springframework.security.web.FilterChainProxy - /?code=lLINuz has no matching filters
65Filtering on...........................................................
6622:18:54.470 [http-nio-8080-exec-5] DEBUG org.springframework.web.servlet.DispatcherServlet - DispatcherServlet with name 'dispatcher' processing GET request for [/]
6722:18:54.470 [http-nio-8080-exec-5] DEBUG org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping - Looking up handler method for path /
6822:18:54.471 [http-nio-8080-exec-5] DEBUG org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping - Did not find handler method for [/]
6922:18:54.471 [http-nio-8080-exec-5] DEBUG org.springframework.security.oauth2.provider.endpoint.FrameworkEndpointHandlerMapping - Looking up handler method for path /
7022:18:54.471 [http-nio-8080-exec-5] DEBUG org.springframework.security.oauth2.provider.endpoint.FrameworkEndpointHandlerMapping - Did not find handler method for [/]
7122:18:54.471 [http-nio-8080-exec-5] WARN org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/] in DispatcherServlet with name 'dispatcher'
7222:18:54.471 [http-nio-8080-exec-5] DEBUG org.springframework.web.servlet.DispatcherServlet - Successfully completed request
7322:18:54.566 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/oauth/token']
7422:18:54.567 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/oauth/token'; against '/oauth/token'
7522:18:54.567 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - matched
7622:18:54.567 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/token at position 1 of 12 in additional filter chain; firing Filter: 'WebAsyncManagerIntegrationFilter'
7722:18:54.567 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/token at position 2 of 12 in additional filter chain; firing Filter: 'SecurityContextPersistenceFilter'
7822:18:54.567 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/token at position 3 of 12 in additional filter chain; firing Filter: 'HeaderWriterFilter'
7922:18:54.567 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/token at position 4 of 12 in additional filter chain; firing Filter: 'LogoutFilter'
8022:18:54.567 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/logout', GET]
8122:18:54.567 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcher - Request 'POST /oauth/token' doesn't match 'GET /logout
8222:18:54.567 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/logout', POST]
8322:18:54.567 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/oauth/token'; against '/logout'
8422:18:54.567 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/logout', PUT]
8522:18:54.567 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcher - Request 'POST /oauth/token' doesn't match 'PUT /logout
8622:18:54.567 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - Trying to match using Ant [pattern='/logout', DELETE]
8722:18:54.567 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcher - Request 'POST /oauth/token' doesn't match 'DELETE /logout
8822:18:54.567 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.util.matcher.OrRequestMatcher - No matches found
8922:18:54.567 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/token at position 5 of 12 in additional filter chain; firing Filter: 'ClientCredentialsTokenEndpointFilter'
9022:18:54.567 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/token at position 6 of 12 in additional filter chain; firing Filter: 'BasicAuthenticationFilter'
9122:18:54.567 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.authentication.www.BasicAuthenticationFilter - Basic Authentication Authorization header found for user 'my-trusted-client'
9222:18:54.567 [http-nio-8080-exec-8] DEBUG org.springframework.security.authentication.ProviderManager - Authentication attempt using org.springframework.security.authentication.dao.DaoAuthenticationProvider
9322:18:54.567 [http-nio-8080-exec-8] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'scopedTarget.clientDetailsService'
9422:18:54.569 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.authentication.www.BasicAuthenticationFilter - Authentication success: org.springframework.security.authentication.UsernamePasswordAuthenticationToken@7e8c5faa: Principal: org.springframework.security.core.userdetails.User@776427a2: Username: my-trusted-client; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: ROLE_CLIENT,ROLE_TRUSTED_CLIENT; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@b364: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: null; Granted Authorities: ROLE_CLIENT, ROLE_TRUSTED_CLIENT
9522:18:54.571 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/token at position 7 of 12 in additional filter chain; firing Filter: 'RequestCacheAwareFilter'
9622:18:54.571 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/token at position 8 of 12 in additional filter chain; firing Filter: 'SecurityContextHolderAwareRequestFilter'
9722:18:54.571 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/token at position 9 of 12 in additional filter chain; firing Filter: 'AnonymousAuthenticationFilter'
9822:18:54.571 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.authentication.AnonymousAuthenticationFilter - SecurityContextHolder not populated with anonymous token, as it already contained: 'org.springframework.security.authentication.UsernamePasswordAuthenticationToken@7e8c5faa: Principal: org.springframework.security.core.userdetails.User@776427a2: Username: my-trusted-client; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: ROLE_CLIENT,ROLE_TRUSTED_CLIENT; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@b364: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: null; Granted Authorities: ROLE_CLIENT, ROLE_TRUSTED_CLIENT'
9922:18:54.571 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/token at position 10 of 12 in additional filter chain; firing Filter: 'SessionManagementFilter'
10022:18:54.571 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.authentication.session.CompositeSessionAuthenticationStrategy - Delegating to org.springframework.security.web.authentication.session.ChangeSessionIdAuthenticationStrategy@4c2d952b
10122:18:54.571 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/token at position 11 of 12 in additional filter chain; firing Filter: 'ExceptionTranslationFilter'
10222:18:54.571 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/token at position 12 of 12 in additional filter chain; firing Filter: 'FilterSecurityInterceptor'
10322:18:54.571 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.util.matcher.AntPathRequestMatcher - Checking match of request : '/oauth/token'; against '/oauth/token'
10422:18:54.571 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptor - Secure object: FilterInvocation: URL: /oauth/token; Attributes: [fullyAuthenticated]
10522:18:54.571 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptor - Previously Authenticated: org.springframework.security.authentication.UsernamePasswordAuthenticationToken@7e8c5faa: Principal: org.springframework.security.core.userdetails.User@776427a2: Username: my-trusted-client; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: ROLE_CLIENT,ROLE_TRUSTED_CLIENT; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@b364: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: null; Granted Authorities: ROLE_CLIENT, ROLE_TRUSTED_CLIENT
10622:18:54.571 [http-nio-8080-exec-8] DEBUG org.springframework.security.access.vote.AffirmativeBased - Voter: org.springframework.security.web.access.expression.WebExpressionVoter@20172f3d, returned: 1
10722:18:54.571 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptor - Authorization successful
10822:18:54.571 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptor - RunAsManager did not change Authentication object
10922:18:54.571 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /oauth/token reached end of additional filter chain; proceeding with original chain
110Filtering on...........................................................
11122:18:54.578 [http-nio-8080-exec-8] DEBUG org.springframework.web.servlet.DispatcherServlet - DispatcherServlet with name 'dispatcher' processing POST request for [/oauth/token]
11222:18:54.579 [http-nio-8080-exec-8] DEBUG org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping - Looking up handler method for path /oauth/token
11322:18:54.579 [http-nio-8080-exec-8] DEBUG org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping - Did not find handler method for [/oauth/token]
11422:18:54.579 [http-nio-8080-exec-8] DEBUG org.springframework.security.oauth2.provider.endpoint.FrameworkEndpointHandlerMapping - Looking up handler method for path /oauth/token
11522:18:54.579 [http-nio-8080-exec-8] DEBUG org.springframework.security.oauth2.provider.endpoint.FrameworkEndpointHandlerMapping - Returning handler method [public org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.OAuth2AccessToken> org.springframework.security.oauth2.provider.endpoint.TokenEndpoint.postAccessToken(java.security.Principal,java.util.Map<java.lang.String, java.lang.String>) throws org.springframework.web.HttpRequestMethodNotSupportedException]
11622:18:54.579 [http-nio-8080-exec-8] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'tokenEndpoint'
11722:18:54.579 [http-nio-8080-exec-8] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'scopedTarget.clientDetailsService'
11822:18:54.579 [http-nio-8080-exec-8] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'scopedTarget.clientDetailsService'
11922:18:54.580 [http-nio-8080-exec-8] DEBUG org.springframework.security.oauth2.provider.endpoint.TokenEndpoint - Clearing scope of incoming token request
12022:18:54.580 [http-nio-8080-exec-8] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'scopedTarget.clientDetailsService'
12122:18:54.580 [http-nio-8080-exec-8] DEBUG org.springframework.security.oauth2.provider.code.AuthorizationCodeTokenGranter - Getting access token for: my-trusted-client
12222:18:54.580 [http-nio-8080-exec-8] DEBUG org.springframework.jdbc.core.JdbcTemplate - Executing prepared SQL query
12322:18:54.580 [http-nio-8080-exec-8] DEBUG org.springframework.jdbc.core.JdbcTemplate - Executing prepared SQL statement [select token_id, token from oauth_access_token where authentication_id = ?]
12422:18:54.580 [http-nio-8080-exec-8] DEBUG org.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource
12522:18:54.580 [http-nio-8080-exec-8] DEBUG org.springframework.jdbc.datasource.DriverManagerDataSource - Creating new JDBC DriverManager Connection to [jdbc:postgresql://localhost:5432/hitmaxServer]
12622:18:54.657 [http-nio-8080-exec-8] DEBUG org.springframework.jdbc.datasource.DataSourceUtils - Returning JDBC Connection to DataSource
12722:18:54.657 [http-nio-8080-exec-8] DEBUG org.springframework.security.oauth2.provider.token.store.JdbcTokenStore - Failed to find access token for authentication org.springframework.security.oauth2.provider.OAuth2Authentication@3aa38da: Principal: com.hitmax.server.mvc.dao.service.user.AuthenticationService$1@2dc4f5d4; Credentials: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: ROLE_USER
12822:18:54.657 [http-nio-8080-exec-8] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'scopedTarget.clientDetailsService'
12922:18:54.657 [http-nio-8080-exec-8] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'scopedTarget.clientDetailsService'
13022:18:54.657 [http-nio-8080-exec-8] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'scopedTarget.clientDetailsService'
13122:18:54.657 [http-nio-8080-exec-8] DEBUG org.springframework.jdbc.core.JdbcTemplate - Executing prepared SQL query
13222:18:54.657 [http-nio-8080-exec-8] DEBUG org.springframework.jdbc.core.JdbcTemplate - Executing prepared SQL statement [select token_id, token from oauth_access_token where token_id = ?]
13322:18:54.657 [http-nio-8080-exec-8] DEBUG org.springframework.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource
13422:18:54.658 [http-nio-8080-exec-8] DEBUG org.springframework.jdbc.datasource.DriverManagerDataSource - Creating new JDBC DriverManager Connection to [jdbc:postgresql://localhost:5432/hitmaxServer]
13522:18:54.724 [http-nio-8080-exec-8] DEBUG org.springframework.jdbc.datasource.DataSourceUtils - Returning JDBC Connection to DataSource
13622:18:54.724 [http-nio-8080-exec-8] INFO org.springframework.security.oauth2.provider.token.store.JdbcTokenStore - Failed to find access token for token 9733faa6-4371-4701-b2ba-93e483854745
13722:18:54.727 [http-nio-8080-exec-8] DEBUG org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver - Resolving exception from handler [public org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.OAuth2AccessToken> org.springframework.security.oauth2.provider.endpoint.TokenEndpoint.postAccessToken(java.security.Principal,java.util.Map<java.lang.String, java.lang.String>) throws org.springframework.web.HttpRequestMethodNotSupportedException]: java.lang.IllegalArgumentException: java.io.NotSerializableException: com.hitmax.server.mvc.dao.service.user.AuthenticationService
13822:18:54.727 [http-nio-8080-exec-8] DEBUG org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver - Invoking @ExceptionHandler method: public org.springframework.http.ResponseEntity<org.springframework.security.oauth2.common.exceptions.OAuth2Exception> org.springframework.security.oauth2.provider.endpoint.TokenEndpoint.handleException(java.lang.Exception) throws java.lang.Exception
13922:18:54.727 [http-nio-8080-exec-8] WARN org.springframework.security.oauth2.provider.endpoint.TokenEndpoint - Handling error: IllegalArgumentException, java.io.NotSerializableException: com.hitmax.server.mvc.dao.service.user.AuthenticationService
14022:18:54.728 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.header.writers.HstsHeaderWriter - Not injecting HSTS header since it did not match the requestMatcher org.springframework.security.web.header.writers.HstsHeaderWriter$SecureRequestMatcher@fc9e511
14122:18:54.729 [http-nio-8080-exec-8] DEBUG org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor - Written [error="server_error", error_description="Internal Server Error"] as "application/json" using [org.springframework.http.converter.json.MappingJackson2HttpMessageConverter@612336bf]
14222:18:54.729 [http-nio-8080-exec-8] DEBUG org.springframework.web.servlet.DispatcherServlet - Null ModelAndView returned to DispatcherServlet with name 'dispatcher': assuming HandlerAdapter completed request handling
14322:18:54.729 [http-nio-8080-exec-8] DEBUG org.springframework.web.servlet.DispatcherServlet - Successfully completed request
14422:18:54.729 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.access.ExceptionTranslationFilter - Chain processed normally
14522:18:54.729 [http-nio-8080-exec-8] DEBUG org.springframework.security.web.context.SecurityContextPersistenceFilter - SecurityContextHolder now cleared, as request processing completed