Results 1 to 2 of 2

Thread: iiioioiiiiiiiiiiiiiiii

  1. #1
    Join Date
    Jan 2012
    Posts
    2

    Default Did not find handler method for [/oauth/authorize] ??

    please help me

    i try sparkl2 is success but my app is error

    http://localhost:8080/MyPlace/oauth/...d&state=7UNCxW


    [27/01/12 04:13:30:030 KST] DEBUG util.AntPathRequestMatcher: Checking match of request : '/oauth/authorize'; against '/css/**'
    [27/01/12 04:13:30:030 KST] DEBUG web.FilterChainProxy: /oauth/authorize?client_id=tonr&redirect_uri=http://localhost:8080/tonr2/sparklr/photos&response_type=code&scope=read&state=7UNCxW at position 1 of 10 in additional filter chain; firing Filter: 'SecurityContextPersistenceFilter'
    [27/01/12 04:13:30:030 KST] DEBUG context.HttpSessionSecurityContextRepository: No HttpSession currently exists
    [27/01/12 04:13:30:030 KST] DEBUG context.HttpSessionSecurityContextRepository: No SecurityContext was available from the HttpSession: null. A new one will be created.
    [27/01/12 04:13:30:030 KST] DEBUG web.FilterChainProxy: /oauth/authorize?client_id=tonr&redirect_uri=http://localhost:8080/tonr2/sparklr/photos&response_type=code&scope=read&state=7UNCxW at position 2 of 10 in additional filter chain; firing Filter: 'LogoutFilter'
    [27/01/12 04:13:30:030 KST] DEBUG web.FilterChainProxy: /oauth/authorize?client_id=tonr&redirect_uri=http://localhost:8080/tonr2/sparklr/photos&response_type=code&scope=read&state=7UNCxW at position 3 of 10 in additional filter chain; firing Filter: 'UsernamePasswordAuthenticationFilter'
    [27/01/12 04:13:30:030 KST] DEBUG web.FilterChainProxy: /oauth/authorize?client_id=tonr&redirect_uri=http://localhost:8080/tonr2/sparklr/photos&response_type=code&scope=read&state=7UNCxW at position 4 of 10 in additional filter chain; firing Filter: 'RequestCacheAwareFilter'
    [27/01/12 04:13:30:030 KST] DEBUG web.FilterChainProxy: /oauth/authorize?client_id=tonr&redirect_uri=http://localhost:8080/tonr2/sparklr/photos&response_type=code&scope=read&state=7UNCxW at position 5 of 10 in additional filter chain; firing Filter: 'SecurityContextHolderAwareRequestFilter'
    [27/01/12 04:13:30:030 KST] DEBUG web.FilterChainProxy: /oauth/authorize?client_id=tonr&redirect_uri=http://localhost:8080/tonr2/sparklr/photos&response_type=code&scope=read&state=7UNCxW at position 6 of 10 in additional filter chain; firing Filter: 'AnonymousAuthenticationFilter'
    [27/01/12 04:13:30:030 KST] DEBUG authentication.AnonymousAuthenticationFilter: Populated SecurityContextHolder with anonymous token: 'org.springframework.security.authentication.Anony mousAuthenticationToken@9055c2bc: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.We bAuthenticationDetails@b364: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS'
    [27/01/12 04:13:30:030 KST] DEBUG web.FilterChainProxy: /oauth/authorize?client_id=tonr&redirect_uri=http://localhost:8080/tonr2/sparklr/photos&response_type=code&scope=read&state=7UNCxW at position 7 of 10 in additional filter chain; firing Filter: 'SessionManagementFilter'
    [27/01/12 04:13:30:030 KST] DEBUG session.SessionManagementFilter: Requested session ID13CD12B74CC8FE5E0E6FB339B3960BA4 is invalid.
    [27/01/12 04:13:30:030 KST] DEBUG web.FilterChainProxy: /oauth/authorize?client_id=tonr&redirect_uri=http://localhost:8080/tonr2/sparklr/photos&response_type=code&scope=read&state=7UNCxW at position 8 of 10 in additional filter chain; firing Filter: 'CompositeFilter'
    [27/01/12 04:13:30:030 KST] DEBUG web.FilterChainProxy: /oauth/authorize?client_id=tonr&redirect_uri=http://localhost:8080/tonr2/sparklr/photos&response_type=code&scope=read&state=7UNCxW at position 9 of 10 in additional filter chain; firing Filter: 'ExceptionTranslationFilter'
    [27/01/12 04:13:30:030 KST] DEBUG web.FilterChainProxy: /oauth/authorize?client_id=tonr&redirect_uri=http://localhost:8080/tonr2/sparklr/photos&response_type=code&scope=read&state=7UNCxW at position 10 of 10 in additional filter chain; firing Filter: 'FilterSecurityInterceptor'
    [27/01/12 04:13:30:030 KST] DEBUG util.AntPathRequestMatcher: Checking match of request : '/oauth/authorize'; against '/place/*'
    [27/01/12 04:13:30:030 KST] DEBUG util.AntPathRequestMatcher: Checking match of request : '/oauth/authorize'; against '/place/*/*'
    [27/01/12 04:13:30:030 KST] DEBUG util.AntPathRequestMatcher: Checking match of request : '/oauth/authorize'; against '/place/fbylocation/lat/*'
    [27/01/12 04:13:30:030 KST] DEBUG util.AntPathRequestMatcher: Checking match of request : '/oauth/authorize'; against '/place/fbylocation/lat/*/lot/*'
    [27/01/12 04:13:30:030 KST] DEBUG util.AntPathRequestMatcher: Checking match of request : '/oauth/authorize'; against '/openapi/*'
    [27/01/12 04:13:30:030 KST] DEBUG util.AntPathRequestMatcher: Checking match of request : '/oauth/authorize'; against '/admin*'
    [27/01/12 04:13:30:030 KST] DEBUG util.AntPathRequestMatcher: Checking match of request : '/oauth/authorize'; against '/user/common'
    [27/01/12 04:13:30:030 KST] DEBUG util.AntPathRequestMatcher: Checking match of request : '/oauth/authorize'; against '/partner/*'
    [27/01/12 04:13:30:030 KST] DEBUG util.AntPathRequestMatcher: Checking match of request : '/oauth/authorize'; against '/partner/mfranchiserlist/*'
    [27/01/12 04:13:30:030 KST] DEBUG util.AntPathRequestMatcher: Checking match of request : '/oauth/authorize'; against '/admin/franchiserimageupload/*'
    [27/01/12 04:13:30:030 KST] DEBUG util.AntPathRequestMatcher: Checking match of request : '/oauth/authorize'; against '/partner/*/*'
    [27/01/12 04:13:30:030 KST] DEBUG util.AntPathRequestMatcher: Checking match of request : '/oauth/authorize'; against '/partner/franchiserlist'
    [27/01/12 04:13:30:030 KST] DEBUG util.AntPathRequestMatcher: Checking match of request : '/oauth/authorize'; against '/partner/franchiserlistjson/*/*/*/*/*'
    [27/01/12 04:13:30:030 KST] DEBUG util.AntPathRequestMatcher: Checking match of request : '/oauth/authorize'; against '/partner/getfranchiserlistpaging'
    [27/01/12 04:13:30:030 KST] DEBUG util.AntPathRequestMatcher: Checking match of request : '/oauth/authorize'; against '/signin/**'
    [27/01/12 04:13:30:030 KST] DEBUG util.AntPathRequestMatcher: Checking match of request : '/oauth/authorize'; against '/signup/**'
    [27/01/12 04:13:30:030 KST] DEBUG util.AntPathRequestMatcher: Checking match of request : '/oauth/authorize'; against '/partner/fid'
    [27/01/12 04:13:30:030 KST] DEBUG util.AntPathRequestMatcher: Checking match of request : '/oauth/authorize'; against '/stamp/*'
    [27/01/12 04:13:30:030 KST] DEBUG util.AntPathRequestMatcher: Checking match of request : '/oauth/authorize'; against '/oauth/authorize'
    [27/01/12 04:13:30:030 KST] DEBUG intercept.FilterSecurityInterceptor: Secure object: FilterInvocation: URL: /oauth/authorize?client_id=tonr&redirect_uri=http://localhost:8080/tonr2/sparklr/photos&response_type=code&scope=read&state=7UNCxW; Attributes: [IS_AUTHENTICATED_ANONYMOUSLY]
    [27/01/12 04:13:30:030 KST] DEBUG intercept.FilterSecurityInterceptor: Previously Authenticated: org.springframework.security.authentication.Anonym ousAuthenticationToken@9055c2bc: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.We bAuthenticationDetails@b364: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS
    [27/01/12 04:13:30:030 KST] DEBUG vote.UnanimousBased: Voter: org.springframework.security.oauth2.provider.vote. ScopeVoter@1992770, returned: 0
    [27/01/12 04:13:30:030 KST] DEBUG vote.UnanimousBased: Voter: org.springframework.security.access.vote.RoleVoter @1ec2efc, returned: 0
    [27/01/12 04:13:30:030 KST] DEBUG vote.UnanimousBased: Voter: org.springframework.security.access.vote.Authentic atedVoter@100b5d7, returned: 1
    [27/01/12 04:13:30:030 KST] DEBUG intercept.FilterSecurityInterceptor: Authorization successful
    [27/01/12 04:13:30:030 KST] DEBUG intercept.FilterSecurityInterceptor: RunAsManager did not change Authentication object
    [27/01/12 04:13:30:030 KST] DEBUG web.FilterChainProxy: /oauth/authorize?client_id=tonr&redirect_uri=http://localhost:8080/tonr2/sparklr/photos&response_type=code&scope=read&state=7UNCxW reached end of additional filter chain; proceeding with original chain
    [27/01/12 04:13:30:030 KST] DEBUG servlet.DispatcherServlet: DispatcherServlet with name 'appServlet' processing GET request for [/MyPlace/oauth/authorize]
    [27/01/12 04:13:30:030 KST] DEBUG annotation.RequestMappingHandlerMapping: Looking up handler method for path /oauth/authorize
    [27/01/12 04:13:30:030 KST] DEBUG annotation.RequestMappingHandlerMapping: Did not find handler method for [/oauth/authorize]
    [27/01/12 04:13:30:030 KST] WARN servlet.PageNotFound: No mapping found for HTTP request with URI [/MyPlace/oauth/authorize] in DispatcherServlet with name 'appServlet'
    [27/01/12 04:13:30:030 KST] DEBUG context.HttpSessionSecurityContextRepository: SecurityContext is empty or contents are anonymous - context will not be stored in HttpSession.
    [27/01/12 04:13:30:030 KST] DEBUG servlet.DispatcherServlet: Successfully completed request
    [27/01/12 04:13:30:030 KST] DEBUG access.ExceptionTranslationFilter: Chain processed normally
    [27/01/12 04:13:30:030 KST] DEBUG filter.OAuth2ProtectedResourceFilter: Chain processed normally
    [27/01/12 04:13:30:030 KST] DEBUG filter.OAuth2ExceptionHandlerFilter: Chain processed normally
    [27/01/12 04:13:30:030 KST] DEBUG context.SecurityContextPersistenceFilter: SecurityContextHolder now cleared, as request processing completed
    Last edited by faye12005; Jan 27th, 2012 at 01:24 AM.

  2. #2
    Join Date
    Jun 2005
    Posts
    4,230

    Default

    There's no actual error in that log but it looks like your user is not authenticated with sparklr2. Did you try the latest codebase from github?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •