fossil
Oct 21st, 2004, 10:25 AM
I can't login.
what i do is login (from samples) than do my stuff. than I logoff (from sample) when i directly want to go to de page that i have secured, and try to login afterwards i get AuthenticationCredentialsNotFoundException and i can't login no more!!
2004-10-21 17:30:54,321 DEBUG acegisecurity.ui.AbstractIntegrationFilter:164 -> Authentication not added to ContextHolder (could not extract an authentication object from the container which is an instance of Authentication)
2004-10-21 17:30:54,321 DEBUG acegisecurity.ui.AbstractProcessingFilter:290 -> Request is to process authentication
2004-10-21 17:30:54,321 DEBUG acegisecurity.providers.ProviderManager:125 -> Authentication attempt using net.sf.acegisecurity.providers.dao.DaoAuthenticati onProvider
2004-10-21 17:30:54,361 DEBUG dao.cache.EhCacheBasedUserCache:86 -> Cache hit: true; username: quentin
2004-10-21 17:30:54,361 DEBUG acegisecurity.ui.AbstractProcessingFilter:343 -> Authentication success: net.sf.acegisecurity.providers.UsernamePasswordAut henticationToken@eabd2f: Username: quentin; Password: [PROTECTED]; Authenticated: false; Details: 127.0.0.1; Granted Authorities: ROLE_TELLER, ROLE_SUPERVISOR
2004-10-21 17:30:54,361 DEBUG acegisecurity.ui.AbstractProcessingFilter:358 -> Redirecting to target URL from HTTP Session (or default): http://localhost:8084/acegi/itemSummery.do
2004-10-21 17:30:54,381 DEBUG acegisecurity.ui.AbstractIntegrationFilter:176 -> Updating container with new Authentication object, and then removing Authentication from ContextHolder
2004-10-21 17:30:54,501 DEBUG acegisecurity.ui.AbstractIntegrationFilter:164 -> Authentication not added to ContextHolder (could not extract an authentication object from the container which is an instance of Authentication)
2004-10-21 17:30:54,501 DEBUG intercept.web.PathBasedFilterInvocationDefinitionM ap:112 -> Converted URL to lowercase, from: 'uri: /acegi/itemSummery.do
method: GET
QueryString: null
Parameters:
Headers:
Name: accept Value: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*
Name: referer Value: http://localhost:8084/acegi/acegilogin.jsp
Name: accept-language Value: en-us
Name: accept-encoding Value: gzip, deflate
Name: user-agent Value: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Crazy Browser 1.0.5)
Name: host Value: localhost:8084
Name: connection Value: Keep-Alive
Name: cache-control Value: no-cache
Name: cookie Value: JSESSIONID=67A521C246B9D10401E7F2488C24B52F
'; to: '/itemsummery.do'
2004-10-21 17:30:54,601 DEBUG intercept.web.PathBasedFilterInvocationDefinitionM ap:123 -> Candidate is: '/itemsummery.do'; pattern is /secure/**; matched=false
2004-10-21 17:30:54,601 DEBUG intercept.web.PathBasedFilterInvocationDefinitionM ap:123 -> Candidate is: '/itemsummery.do'; pattern is /test/**; matched=false
2004-10-21 17:30:54,601 DEBUG intercept.web.PathBasedFilterInvocationDefinitionM ap:123 -> Candidate is: '/itemsummery.do'; pattern is /*.do; matched=true
2004-10-21 17:30:54,601 DEBUG acegisecurity.intercept.AbstractSecurityIntercepto r:273 -> Secure object: FilterInvocation: URL: /itemSummery.do; ConfigAttributes: [ROLE_SUPERVISOR]
2004-10-21 17:30:54,611 DEBUG intercept.web.SecurityEnforcementFilter:191 -> Authentication failed - adding target URL to Session: http://localhost:8084/acegi/itemSummery.do
net.sf.acegisecurity.AuthenticationCredentialsNotF oundException: Authentication credentials were not found in the SecureContext
at net.sf.acegisecurity.intercept.AbstractSecurityInt erceptor.interceptor(AbstractSecurityInterceptor.j ava:289)
at net.sf.acegisecurity.intercept.web.FilterSecurityI nterceptor.invoke(FilterSecurityInterceptor.java:7 8)
at net.sf.acegisecurity.intercept.web.SecurityEnforce mentFilter.doFilter(SecurityEnforcementFilter.java :165)
at net.sf.acegisecurity.util.FilterToBeanProxy.doFilt er(FilterToBeanProxy.java:105)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:233)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:204)
at net.sf.acegisecurity.ui.AbstractProcessingFilter.d oFilter(AbstractProcessingFilter.java:368)
at net.sf.acegisecurity.util.FilterToBeanProxy.doFilt er(FilterToBeanProxy.java:105)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:233)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:204)
at net.sf.acegisecurity.ui.AbstractIntegrationFilter. doFilter(AbstractIntegrationFilter.java:170)
at net.sf.acegisecurity.util.FilterToBeanProxy.doFilt er(FilterToBeanProxy.java:105)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:233)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:204)
at org.netbeans.modules.web.monitor.server.MonitorFil ter.doFilter(MonitorFilter.java:305)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:233)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:204)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:257)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:567)
at org.apache.catalina.core.StandardContextValve.invo keInternal(StandardContextValve.java:245)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:199)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:567)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:184)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:164)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:567)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:156)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:567)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:972)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(Co yoteAdapter.java:206)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:833)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.processConnection(Http11Protocol.jav a:732)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(P oolTcpEndpoint.java:619)
at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:688)
at java.lang.Thread.run(Thread.java:534)
2004-10-21 17:30:54,621 DEBUG ui.webapp.AuthenticationProcessingFilterEntryPoint :176 -> Redirecting to: http://localhost:8084/acegi/acegilogin.jsp
2004-10-21 17:30:54,621 DEBUG acegisecurity.ui.AbstractIntegrationFilter:176 -> Updating container with new Authentication object, and then removing Authentication from ContextHolder
2004-10-21 17:30:54,771 DEBUG acegisecurity.ui.AbstractIntegrationFilter:164 -> Authentication not added to ContextHolder (could not extract an authentication object from the container which is an instance of Authentication)
2004-10-21 17:30:54,771 DEBUG intercept.web.PathBasedFilterInvocationDefinitionM ap:112 -> Converted URL to lowercase, from: 'uri: /acegi/acegilogin.jsp
method: GET
QueryString: null
Parameters:
Headers:
Name: accept Value: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*
Name: referer Value: http://localhost:8084/acegi/acegilogin.jsp
Name: accept-language Value: en-us
Name: accept-encoding Value: gzip, deflate
Name: user-agent Value: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Crazy Browser 1.0.5)
Name: host Value: localhost:8084
Name: connection Value: Keep-Alive
Name: cache-control Value: no-cache
Name: cookie Value: JSESSIONID=67A521C246B9D10401E7F2488C24B52F
'; to: '/acegilogin.jsp'
2004-10-21 17:30:54,771 DEBUG intercept.web.PathBasedFilterInvocationDefinitionM ap:123 -> Candidate is: '/acegilogin.jsp'; pattern is /secure/**; matched=false
2004-10-21 17:30:54,781 DEBUG intercept.web.PathBasedFilterInvocationDefinitionM ap:123 -> Candidate is: '/acegilogin.jsp'; pattern is /test/**; matched=false
2004-10-21 17:30:54,781 DEBUG intercept.web.PathBasedFilterInvocationDefinitionM ap:123 -> Candidate is: '/acegilogin.jsp'; pattern is /*.do; matched=false
2004-10-21 17:30:54,781 DEBUG acegisecurity.intercept.AbstractSecurityIntercepto r:346 -> Public object - authentication not attempted
2004-10-21 17:30:54,811 DEBUG intercept.web.SecurityEnforcementFilter:168 -> Chain processed normally
2004-10-21 17:30:54,811 DEBUG acegisecurity.ui.AbstractIntegrationFilter:176 -> Updating container with new Authentication object, and then removing Authentication from ContextHolder
what i do is login (from samples) than do my stuff. than I logoff (from sample) when i directly want to go to de page that i have secured, and try to login afterwards i get AuthenticationCredentialsNotFoundException and i can't login no more!!
2004-10-21 17:30:54,321 DEBUG acegisecurity.ui.AbstractIntegrationFilter:164 -> Authentication not added to ContextHolder (could not extract an authentication object from the container which is an instance of Authentication)
2004-10-21 17:30:54,321 DEBUG acegisecurity.ui.AbstractProcessingFilter:290 -> Request is to process authentication
2004-10-21 17:30:54,321 DEBUG acegisecurity.providers.ProviderManager:125 -> Authentication attempt using net.sf.acegisecurity.providers.dao.DaoAuthenticati onProvider
2004-10-21 17:30:54,361 DEBUG dao.cache.EhCacheBasedUserCache:86 -> Cache hit: true; username: quentin
2004-10-21 17:30:54,361 DEBUG acegisecurity.ui.AbstractProcessingFilter:343 -> Authentication success: net.sf.acegisecurity.providers.UsernamePasswordAut henticationToken@eabd2f: Username: quentin; Password: [PROTECTED]; Authenticated: false; Details: 127.0.0.1; Granted Authorities: ROLE_TELLER, ROLE_SUPERVISOR
2004-10-21 17:30:54,361 DEBUG acegisecurity.ui.AbstractProcessingFilter:358 -> Redirecting to target URL from HTTP Session (or default): http://localhost:8084/acegi/itemSummery.do
2004-10-21 17:30:54,381 DEBUG acegisecurity.ui.AbstractIntegrationFilter:176 -> Updating container with new Authentication object, and then removing Authentication from ContextHolder
2004-10-21 17:30:54,501 DEBUG acegisecurity.ui.AbstractIntegrationFilter:164 -> Authentication not added to ContextHolder (could not extract an authentication object from the container which is an instance of Authentication)
2004-10-21 17:30:54,501 DEBUG intercept.web.PathBasedFilterInvocationDefinitionM ap:112 -> Converted URL to lowercase, from: 'uri: /acegi/itemSummery.do
method: GET
QueryString: null
Parameters:
Headers:
Name: accept Value: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*
Name: referer Value: http://localhost:8084/acegi/acegilogin.jsp
Name: accept-language Value: en-us
Name: accept-encoding Value: gzip, deflate
Name: user-agent Value: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Crazy Browser 1.0.5)
Name: host Value: localhost:8084
Name: connection Value: Keep-Alive
Name: cache-control Value: no-cache
Name: cookie Value: JSESSIONID=67A521C246B9D10401E7F2488C24B52F
'; to: '/itemsummery.do'
2004-10-21 17:30:54,601 DEBUG intercept.web.PathBasedFilterInvocationDefinitionM ap:123 -> Candidate is: '/itemsummery.do'; pattern is /secure/**; matched=false
2004-10-21 17:30:54,601 DEBUG intercept.web.PathBasedFilterInvocationDefinitionM ap:123 -> Candidate is: '/itemsummery.do'; pattern is /test/**; matched=false
2004-10-21 17:30:54,601 DEBUG intercept.web.PathBasedFilterInvocationDefinitionM ap:123 -> Candidate is: '/itemsummery.do'; pattern is /*.do; matched=true
2004-10-21 17:30:54,601 DEBUG acegisecurity.intercept.AbstractSecurityIntercepto r:273 -> Secure object: FilterInvocation: URL: /itemSummery.do; ConfigAttributes: [ROLE_SUPERVISOR]
2004-10-21 17:30:54,611 DEBUG intercept.web.SecurityEnforcementFilter:191 -> Authentication failed - adding target URL to Session: http://localhost:8084/acegi/itemSummery.do
net.sf.acegisecurity.AuthenticationCredentialsNotF oundException: Authentication credentials were not found in the SecureContext
at net.sf.acegisecurity.intercept.AbstractSecurityInt erceptor.interceptor(AbstractSecurityInterceptor.j ava:289)
at net.sf.acegisecurity.intercept.web.FilterSecurityI nterceptor.invoke(FilterSecurityInterceptor.java:7 8)
at net.sf.acegisecurity.intercept.web.SecurityEnforce mentFilter.doFilter(SecurityEnforcementFilter.java :165)
at net.sf.acegisecurity.util.FilterToBeanProxy.doFilt er(FilterToBeanProxy.java:105)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:233)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:204)
at net.sf.acegisecurity.ui.AbstractProcessingFilter.d oFilter(AbstractProcessingFilter.java:368)
at net.sf.acegisecurity.util.FilterToBeanProxy.doFilt er(FilterToBeanProxy.java:105)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:233)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:204)
at net.sf.acegisecurity.ui.AbstractIntegrationFilter. doFilter(AbstractIntegrationFilter.java:170)
at net.sf.acegisecurity.util.FilterToBeanProxy.doFilt er(FilterToBeanProxy.java:105)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:233)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:204)
at org.netbeans.modules.web.monitor.server.MonitorFil ter.doFilter(MonitorFilter.java:305)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:233)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:204)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:257)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:567)
at org.apache.catalina.core.StandardContextValve.invo keInternal(StandardContextValve.java:245)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:199)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:567)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:184)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:164)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:567)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:156)
at org.apache.catalina.core.StandardValveContext.invo keNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:567)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:972)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(Co yoteAdapter.java:206)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:833)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.processConnection(Http11Protocol.jav a:732)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(P oolTcpEndpoint.java:619)
at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:688)
at java.lang.Thread.run(Thread.java:534)
2004-10-21 17:30:54,621 DEBUG ui.webapp.AuthenticationProcessingFilterEntryPoint :176 -> Redirecting to: http://localhost:8084/acegi/acegilogin.jsp
2004-10-21 17:30:54,621 DEBUG acegisecurity.ui.AbstractIntegrationFilter:176 -> Updating container with new Authentication object, and then removing Authentication from ContextHolder
2004-10-21 17:30:54,771 DEBUG acegisecurity.ui.AbstractIntegrationFilter:164 -> Authentication not added to ContextHolder (could not extract an authentication object from the container which is an instance of Authentication)
2004-10-21 17:30:54,771 DEBUG intercept.web.PathBasedFilterInvocationDefinitionM ap:112 -> Converted URL to lowercase, from: 'uri: /acegi/acegilogin.jsp
method: GET
QueryString: null
Parameters:
Headers:
Name: accept Value: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*
Name: referer Value: http://localhost:8084/acegi/acegilogin.jsp
Name: accept-language Value: en-us
Name: accept-encoding Value: gzip, deflate
Name: user-agent Value: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Crazy Browser 1.0.5)
Name: host Value: localhost:8084
Name: connection Value: Keep-Alive
Name: cache-control Value: no-cache
Name: cookie Value: JSESSIONID=67A521C246B9D10401E7F2488C24B52F
'; to: '/acegilogin.jsp'
2004-10-21 17:30:54,771 DEBUG intercept.web.PathBasedFilterInvocationDefinitionM ap:123 -> Candidate is: '/acegilogin.jsp'; pattern is /secure/**; matched=false
2004-10-21 17:30:54,781 DEBUG intercept.web.PathBasedFilterInvocationDefinitionM ap:123 -> Candidate is: '/acegilogin.jsp'; pattern is /test/**; matched=false
2004-10-21 17:30:54,781 DEBUG intercept.web.PathBasedFilterInvocationDefinitionM ap:123 -> Candidate is: '/acegilogin.jsp'; pattern is /*.do; matched=false
2004-10-21 17:30:54,781 DEBUG acegisecurity.intercept.AbstractSecurityIntercepto r:346 -> Public object - authentication not attempted
2004-10-21 17:30:54,811 DEBUG intercept.web.SecurityEnforcementFilter:168 -> Chain processed normally
2004-10-21 17:30:54,811 DEBUG acegisecurity.ui.AbstractIntegrationFilter:176 -> Updating container with new Authentication object, and then removing Authentication from ContextHolder