CAS Authentication Exception

67 views
Skip to first unread message

Andrey Seledkov

unread,
Apr 5, 2019, 6:56:55 AM4/5/19
to CAS Community
Hello team.

I setup cas overlay template , version 6.0.3

I am trying to authenticate user ,  but got next stack trace , please assist

My application.properties

cas.authn.accept.users=
cas.authn.accept.name=
cas.jdbc.showSql=true
cas.authn.jdbc.query[0].sql=SELECT password FROM users WHERE username=?
cas.authn.jdbc.query[0].url=jdbc:mysql://localhost:3306/test
cas.authn.jdbc.query[0].dialect=org.hibernate.dialect.MySQL8Dialect
cas.authn.jdbc.query[0].user=root
cas.authn.jdbc.query[0].password=1111
cas.authn.jdbc.query[0].driverClass=com.mysql.jdbc.Driver
cas.authn.jdbc.query[0].fieldPassword=password
cas.authn.jdbc.query[0].passwordEncoder.type=NONE
cas.authn.jdbc.query[0].passwordEncoder.characterEncoding=UTF-8

and my registry service

{
"@class": "org.apereo.cas.services.RegexRegisteredService",
"serviceId": "^https://localhost",
"name": "HTTPS/IMAPS wildcard",
"id": 1001,
"evaluationOrder": 99999,
}


WHO: test                                                                                                                                                                                                                                                                      
WHAT: Supplied credentials: [UsernamePasswordCredential(username=test, source=null)]                                                                                                                                                                                           
ACTION: AUTHENTICATION_FAILED                                                                                                                                                                                                                                                  
APPLICATION: CAS                                                                                                                                                                                                                                                               
WHEN: Fri Apr 05 13:38:14 EEST 2019                                                                                                                                                                                                                                            
CLIENT IP ADDRESS: 0:0:0:0:0:0:0:1                                                                                                                                                                                                                                             
SERVER IP ADDRESS: 0:0:0:0:0:0:0:1                                                                                                                                                                                                                                             
=============================================================                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                               
                                                                                                                                                                                                                                                                               
13:38:14.076 [https-jsse-nio-8443-exec-7] DEBUG org.apereo.cas.web.flow.resolver.impl.DefaultCasDelegatingWebflowEventResolver - 0 errors, 0 successes                                                                                                                         
org.apereo.cas.authentication.AuthenticationException: 0 errors, 0 successes                                                                                                                                                                                                   
        at org.apereo.cas.authentication.PolicyBasedAuthenticationManager.evaluateFinalAuthentication(PolicyBasedAuthenticationManager.java:349) ~[cas-server-core-authentication-api-6.0.3-SNAPSHOT.jar!/:6.0.3-SNAPSHOT]                                                     
        at org.apereo.cas.authentication.PolicyBasedAuthenticationManager.authenticateInternal(PolicyBasedAuthenticationManager.java:327) ~[cas-server-core-authentication-api-6.0.3-SNAPSHOT.jar!/:6.0.3-SNAPSHOT]                                                            
        at org.apereo.cas.authentication.PolicyBasedAuthenticationManager.authenticate(PolicyBasedAuthenticationManager.java:136) ~[cas-server-core-authentication-api-6.0.3-SNAPSHOT.jar!/:6.0.3-SNAPSHOT]                                                                    
        at org.apereo.cas.authentication.PolicyBasedAuthenticationManager$$FastClassBySpringCGLIB$$90e801d3.invoke() ~[cas-server-core-authentication-api-6.0.3-SNAPSHOT.jar!/:6.0.3-SNAPSHOT]                                                                      
        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                                           
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) ~[spring-aop-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                       
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                           
        at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) ~[spring-aop-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                            
        at org.apereo.inspektr.audit.AuditTrailManagementAspect.handleAuditTrail(AuditTrailManagementAspect.java:135) ~[inspektr-audit-1.8.4.GA.jar!/:1.8.4.GA]                                                                                                                
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]                                                                                                                                                                                         
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]                                                                                                                                                                       
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]                                                                                                                                                               
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]                                                                                                                                                                                                             
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) ~[spring-aop-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                               
        at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) ~[spring-aop-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                            
        at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) ~[spring-aop-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                             
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) ~[spring-aop-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                           
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) ~[spring-aop-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                         
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                           
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) ~[spring-aop-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                         
        at org.apereo.cas.authentication.PolicyBasedAuthenticationManager$$EnhancerBySpringCGLIB$$97e6c1da.authenticate() ~[cas-server-core-authentication-api-6.0.3-SNAPSHOT.jar!/:6.0.3-SNAPSHOT]                                                                 
        at org.apereo.cas.authentication.DefaultAuthenticationTransactionManager.handle(DefaultAuthenticationTransactionManager.java:31) ~[cas-server-core-authentication-api-6.0.3-SNAPSHOT.jar!/:6.0.3-SNAPSHOT]                                                             
        at org.apereo.cas.authentication.DefaultAuthenticationSystemSupport.handleAuthenticationTransaction(DefaultAuthenticationSystemSupport.java:48) ~[cas-server-core-authentication-api-6.0.3-SNAPSHOT.jar!/:6.0.3-SNAPSHOT]                                              
        at org.apereo.cas.authentication.DefaultAuthenticationSystemSupport.handleInitialAuthenticationTransaction(DefaultAuthenticationSystemSupport.java:34) ~[cas-server-core-authentication-api-6.0.3-SNAPSHOT.jar!/:6.0.3-SNAPSHOT]                                       
        at org.apereo.cas.web.flow.resolver.impl.DefaultCasDelegatingWebflowEventResolver.resolveInternal(DefaultCasDelegatingWebflowEventResolver.java:76) [cas-server-core-webflow-api-6.0.3-SNAPSHOT.jar!/:6.0.3-SNAPSHOT]                                                  
        at org.apereo.cas.web.flow.resolver.impl.AbstractCasWebflowEventResolver.resolve(AbstractCasWebflowEventResolver.java:143) [cas-server-core-webflow-api-6.0.3-SNAPSHOT.jar!/:6.0.3-SNAPSHOT]                                                                           
        at org.apereo.cas.web.flow.resolver.impl.AbstractCasWebflowEventResolver.resolveSingle(AbstractCasWebflowEventResolver.java:148) [cas-server-core-webflow-api-6.0.3-SNAPSHOT.jar!/:6.0.3-SNAPSHOT]                                                                     
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]                                                                                                                                                                                         
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]                                                                                                                                                                       
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]                                                                                                                                                               
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]                                                                                                                                                                                                             
        at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:246) [spring-core-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                                     
        at org.springframework.cloud.context.scope.GenericScope$LockedScopedProxyFactoryBean.invoke(GenericScope.java:494) [spring-cloud-context-2.1.0.RELEASE.jar!/:2.1.0.RELEASE]                                                                                            
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) [spring-aop-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                            
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) [spring-aop-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                             
        at com.sun.proxy.$Proxy258.resolveSingle(Unknown Source) [?:?]                                                                                                                                                                                                         
        at org.apereo.cas.web.flow.actions.AbstractAuthenticationAction.doExecute(AbstractAuthenticationAction.java:55) [cas-server-core-webflow-api-6.0.3-SNAPSHOT.jar!/:6.0.3-SNAPSHOT]                                                                                      
        at org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                                               
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]                                                                                                                                                                                         
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]                                                                                                                                                                       
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]                                                                                                                                                               
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]                                                                                                                                                                                                             
        at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:246) [spring-core-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                                     
        at org.springframework.cloud.context.scope.GenericScope$LockedScopedProxyFactoryBean.invoke(GenericScope.java:494) [spring-cloud-context-2.1.0.RELEASE.jar!/:2.1.0.RELEASE]                                                                                            
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) [spring-aop-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                            
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) [spring-aop-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                             
        at com.sun.proxy.$Proxy250.execute(Unknown Source) [?:?]                                                                                                                                                                                                               
        at org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                                             
        at org.springframework.webflow.action.EvaluateAction.doExecute(EvaluateAction.java:77) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                                              
        at org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                                               
        at org.springframework.webflow.execution.AnnotatedAction.execute(AnnotatedAction.java:145) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                                          
        at org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                                             
        at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:101) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                                                     
        at org.springframework.webflow.engine.State.enter(State.java:194) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                                                                   
        at org.springframework.webflow.engine.Transition.execute(Transition.java:228) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                                                       
        at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:395) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                                    
        at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                    
        at org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:116) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                                 
        at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:547) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                                                               
        at org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:390) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                                
        at org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                
        at org.springframework.webflow.engine.ViewState.handleEvent(ViewState.java:231) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                                                     
        at org.springframework.webflow.engine.ViewState.resume(ViewState.java:195) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                                                          
        at org.springframework.webflow.engine.Flow.resume(Flow.java:537) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                                                                    
        at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:259) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                                     
        at org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:168) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                                 
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]                                                                                                                                                                                         
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]                                                                                                                                                                       
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]                                                                                                                                                               
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]                                                                                                                                                                                                             
        at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:246) [spring-core-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                                     
        at org.springframework.cloud.context.scope.GenericScope$LockedScopedProxyFactoryBean.invoke(GenericScope.java:494) [spring-cloud-context-2.1.0.RELEASE.jar!/:2.1.0.RELEASE]                                                                                            
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) [spring-aop-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                            
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) [spring-aop-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                             
        at com.sun.proxy.$Proxy259.resumeExecution(Unknown Source) [?:?]                                                                                                                                                                                                       
        at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:254) [spring-webflow-2.5.1.RELEASE.jar!/:2.5.1.RELEASE]                                                                                                                   
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) [spring-webmvc-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                         
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) [spring-webmvc-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                           
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) [spring-webmvc-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                       
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) [spring-webmvc-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                                
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:665) [javax.servlet-api-4.0.1.jar!/:4.0.1]                                                                                                                                                                  
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) [spring-webmvc-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                               
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:750) [javax.servlet-api-4.0.1.jar!/:4.0.1]                                                                                                                                                                  
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                           
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                   
        at org.apereo.cas.web.support.AuthenticationCredentialsThreadLocalBinderClearingFilter.doFilter(AuthenticationCredentialsThreadLocalBinderClearingFilter.java:28) [cas-server-core-web-api-6.0.3-SNAPSHOT.jar!/:6.0.3-SNAPSHOT]                                        
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                           
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                   
        at org.apereo.cas.security.RequestParameterPolicyEnforcementFilter.doFilter(RequestParameterPolicyEnforcementFilter.java:261) [cas-server-security-filter-2.0.10.4.jar!/:2.0.10.4]                                                                                     
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                           
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                   
        at org.apereo.cas.security.ResponseHeadersEnforcementFilter.doFilter(ResponseHeadersEnforcementFilter.java:240) [cas-server-security-filter-2.0.10.4.jar!/:2.0.10.4]                                                                                                   
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                           
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                   
        at org.apereo.cas.security.AddResponseHeadersFilter.doFilter(AddResponseHeadersFilter.java:94) [cas-server-security-filter-2.0.10.4.jar!/:2.0.10.4]                                                                                                                    
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                           
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                   
        at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:90) [spring-boot-actuator-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]                                                                                               
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                          
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                           
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                   
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                                                                    
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                                                      
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                                                     
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                                                                    
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                                                            
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                                                                    
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                                                                 
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                                                                    
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                                              
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                                                                    
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                              
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                                                                    
        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                                                             
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                                                                    
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                                               
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                                                                    
        at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                          
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                          
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                                                                    
        at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:157) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                                                          
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                                                                    
        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                                                                               
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) [spring-security-web-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]                                                                                                                       
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) [spring-web-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                  
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) [spring-web-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                        
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                           
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                   
        at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                   
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                          
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                           
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                   
        at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) [spring-web-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                         
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                          
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                           
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                   
        at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) [spring-web-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                               
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                          
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                           
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                   
        at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:117) [spring-boot-actuator-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]                                                                              
        at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:106) [spring-boot-actuator-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]                                                                                    
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                          
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                           
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                   
        at org.apereo.cas.logging.web.ThreadContextMDCServletFilter.doFilter(ThreadContextMDCServletFilter.java:98) [cas-server-core-logging-6.0.3-SNAPSHOT.jar!/:6.0.3-SNAPSHOT]                                                                                              
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                           
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                   
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) [spring-web-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                            
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.1.3.RELEASE.jar!/:5.1.3.RELEASE]                                                                                                                          
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                           
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                   
        at org.apereo.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:66) [inspektr-common-1.8.4.GA.jar!/:1.8.4.GA]                                                                                                                  
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                           
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                   
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                         
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                          
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                      
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                               
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                                
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                            
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                   
        at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:679) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                                     
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                                 
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                                  
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                            
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                     
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                         
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                             
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]                                                                                                                                                                               
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]                                                                                                                                                                               
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.17.jar!/:9.0.17]                                                                                                                                          
        at java.lang.Thread.run(Thread.java:834) [?:?]                                                                                                                                                                                                                         
13:38:14.085 [https-jsse-nio-8443-exec-7] DEBUG org.apereo.cas.web.flow.resolver.impl.AbstractCasWebflowEventResolver - Resolved single event [authenticationFailure] via [org.apereo.cas.web.flow.resolver.impl.DefaultCasDelegatingWebflowEventResolver] for this context    
13:38:14.085 [https-jsse-nio-8443-exec-7] DEBUG org.apereo.cas.web.flow.actions.AuthenticationExceptionHandlerAction - Located current event [authenticationFailure]                                                                                                           
13:38:14.085 [https-jsse-nio-8443-exec-7] DEBUG org.apereo.cas.web.flow.actions.AuthenticationExceptionHandlerAction - Located error attribute [class org.apereo.cas.authentication.AuthenticationException] with message [0 errors, 0 successes] from the current event       
13:38:14.086 [https-jsse-nio-8443-exec-7] DEBUG org.apereo.cas.web.flow.actions.AuthenticationExceptionHandlerAction - Unable to translate handler errors of the authentication exception [org.apereo.cas.authentication.AuthenticationException: 0 errors, 0 successes]. Retur
ning [UNKNOWN]                                                                                                                                                                                                                                                                 
13:38:14.088 [https-jsse-nio-8443-exec-7] DEBUG org.apereo.cas.web.flow.actions.AuthenticationExceptionHandlerAction - Final event id resolved from the error is [UNKNOWN]                                                                                                     
13:38:14.302 [https-jsse-nio-8443-exec-6] DEBUG org.apereo.cas.web.flow.resolver.impl.RankedMultifactorAuthenticationProviderWebflowEventResolver - No service is available to determine event for principal                                                                   
13:38:14.302 [https-jsse-nio-8443-exec-6] DEBUG org.apereo.cas.web.flow.resolver.impl.AbstractCasWebflowEventResolver - Resolved single event [success] via [org.apereo.cas.web.flow.resolver.impl.RankedMultifactorAuthenticationProviderWebflowEventResolver] for this contex
t                                                                                                                                                                                                                                                                              
13:38:14.302 [https-jsse-nio-8443-exec-6] INFO  org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager - Audit trail record BEGIN                                                                                      

                                               

Ray Bon

unread,
Apr 5, 2019, 11:10:35 AM4/5/19
to cas-...@apereo.org
Andrey,

You have showSql=true, check the sql statement to be sure it is correct, and run it against your database to be sure it returns the data that you want.
The stack trace is part of DEBUG output.

Ray

Andrey Seledkov

unread,
Apr 5, 2019, 2:30:46 PM4/5/19
to CAS Community
As i see issue here not with sql query , it is didnt get to sql , becasue failed before it

I thinf issue here

21:22:12.966 [https-jsse-nio-8443-exec-7] DEBUG org.apereo.cas.authentication.PolicyBasedAuthenticationManager - Authentication credentials provided for this transaction are [[UsernamePasswordCredentia                                                                      
l(username=test, source=null)]]                                                                                                                                                                                                                                                
21:22:12.977 [https-jsse-nio-8443-exec-7] DEBUG org.apereo.cas.authentication.DefaultAuthenticationEventExecutionPlan - Candidate/Registered authentication handlers for this transaction are [[org.apere                                                                      
o.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler@e890591]]                                                                                                                                                                                
21:22:12.977 [https-jsse-nio-8443-exec-7] DEBUG org.apereo.cas.authentication.DefaultAuthenticationEventExecutionPlan - Sorted and registered authentication handler resolvers for this transaction are [                                                                      
[org.apereo.cas.authentication.handler.RegisteredServiceAuthenticationHandlerResolver@2d9df336]]                                                                                                                                                                               
21:22:12.978 [https-jsse-nio-8443-exec-7] DEBUG org.apereo.cas.authentication.DefaultAuthenticationEventExecutionPlan - Authentication handler resolvers for this transaction are [[org.apereo.cas.authen                                                                      
tication.handler.RegisteredServiceAuthenticationHandlerResolver@2d9df336]]                                                                                                                                                                                                     
21:22:12.978 [https-jsse-nio-8443-exec-7] DEBUG org.apereo.cas.authentication.DefaultAuthenticationEventExecutionPlan - Authentication handler resolvers produced no candidate authentication handler. Us                                                                      
ing the default handler resolver instead...                                                                                                                                                                                                                                    
21:22:12.980 [https-jsse-nio-8443-exec-7] DEBUG org.apereo.cas.authentication.AuthenticationHandlerResolver - Default authentication handlers used for this transaction are [HttpBasedServiceCredentialsA                                                                      
uthenticationHandler]                                                                                                                                                                                                                                                          
21:22:12.980 [https-jsse-nio-8443-exec-7] DEBUG org.apereo.cas.authentication.DefaultAuthenticationEventExecutionPlan - Resolved and finalized authentication handlers to carry out this authentication t                                                                      
ransaction are [[org.apereo.cas.authentication.handler.RegisteredServiceAuthenticationHandlerResolver@2d9df336]]                                                                                                                                                               
21:22:12.980 [https-jsse-nio-8443-exec-7] DEBUG org.apereo.cas.authentication.PolicyBasedAuthenticationManager - Candidate resolved authentication handlers for this transaction are [[org.apereo.cas.aut                                                                      
hentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler@e890591]]                                                                                                                                                                                         
21:22:12.980 [https-jsse-nio-8443-exec-7] DEBUG org.apereo.cas.authentication.PolicyBasedAuthenticationManager - Attempting to authenticate credential [UsernamePasswordCredential(username=test, source=                                                                      
null)]                                                                                                                                                                                                                                                                         
21:22:12.982 [https-jsse-nio-8443-exec-7] DEBUG org.apereo.cas.authentication.PolicyBasedAuthenticationManager - Authentication handler [HttpBasedServiceCredentialsAuthenticationHandler] does not suppo                                                                      
rt the credential type [UsernamePasswordCredential(username=test, source=null)]. Trying next...                                                                                                                                                                                
21:22:12.984 [https-jsse-nio-8443-exec-7] INFO  org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager - Audit trail record BEGIN                                                                                                                                     

Default handler is HttpBasedServiceCredentialsAuthenticationHandler which does not support UsernamePasswordCredential

 does not suppo                                                                      
rt the credential type [UsernamePasswordCredential(username=test, source=null)]



пятница, 5 апреля 2019 г., 13:56:55 UTC+3 пользователь Andrey Seledkov написал:
...

Ray Bon

unread,
Apr 5, 2019, 2:51:52 PM4/5/19
to cas-...@apereo.org
Andrey,

It looks like your jdbc handler is not recognized. I have this in my log (5.2.7):

DEBUG [aper.cas.auth.RegisteredServiceAuthenticationHandlerResolver] - <Authentication handlers used for this transaction are [HttpBasedServiceCredentialsAuthenticationHandler,YubiKeyAuthenticationHandler,LdapAuthenticationHandler,
LdapAuthenticationHandler,LdapAuthenticationHandler,LdapAuthenticationHandler,LdapAuthenticationHandler]>

Check your config file location and where CAS thinks it should be.

Ray
cas.authn.accept.users
=

cas.authn.accept.name
=

cas.jdbc.showSql
=
true

cas.authn.jdbc.query[0].sql
=
SE
LECT password FROM users WHERE username=?


and my registry service

1001
,

  
"evaluationOrder"
: 
99999
,

}


        at org.springframework.util.
ReflectionUtils.invokeMethod(
ReflectionUtils.java:246) [spring-core-5.1.3.RELEASE.
jar!/:5.1.3.RELEASE]                                                                                                                                     

        at org.springframework.cloud.
context.scope.GenericScope$
LockedScopedProxyFactoryBean.
invoke(GenericScope.java:494) [spring-cloud-context-2.1.0.
RELEASE.jar!/:2.1.0.RELEASE]                                                                                            

        at org.springframework.aop.
framework.
ReflectiveMethodInvocation.
proceed(
ReflectiveMethodInvocation.
java:186) [spring-aop-5.1.3.RELEASE.jar!
/:5.1.3.RELEASE]                                                                                                            

        at org.springframework.aop.
framework.JdkDynamicAopProxy.
invoke(JdkDynamicAopProxy.
java:212) [spring-aop-5.1.3.RELEASE.jar!
/:5.1.3.RELEASE]                                                                                                                             

        at com.sun.proxy.$Proxy258.
resolveSingle(Unknown Source) [?:?]                                                                                                                                                                                                         

        at org.apereo.cas.web.flow.
actions.
AbstractAuthenticationAction.
doExecute(
AbstractAuthenticationAction.
java:55) [cas-server-core-webflow-api-
6.0.3-SNAPSHOT.jar!/:6.0.3-
SNAPSHOT]                                                                                      

        at org.springframework.webflow.
action.AbstractAction.execute(
AbstractAction.java:188) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                                               

        at jdk.internal.reflect.
NativeMethodAccessorImpl.
invoke0(Native Method) ~[?:?]                                                                                                                                                                                         

        at jdk.internal.reflect.
NativeMethodAccessorImpl.
invoke(
NativeMethodAccessorImpl.java:
62) ~[?:?]                                                                                                                                                                       

        at jdk.internal.reflect.
DelegatingMethodAccessorImpl.
invoke(
DelegatingMethodAccessorImpl.
java:43) ~[?:?]                                                                                                                                                               

        at java.lang.reflect.Method.
invoke(Method.java:566) ~[?:?]                                                                                                                                                                                                             

        at org.springframework.util.
ReflectionUtils.invokeMethod(
ReflectionUtils.java:246) [spring-core-5.1.3.RELEASE.
jar!/:5.1.3.RELEASE]                                                                                                                                     

        at org.springframework.cloud.
context.scope.GenericScope$
LockedScopedProxyFactoryBean.
invoke(GenericScope.java:494) [spring-cloud-context-2.1.0.
RELEASE.jar!/:2.1.0.RELEASE]                                                                                            

        at org.springframework.aop.
framework.
ReflectiveMethodInvocation.
proceed(
ReflectiveMethodInvocation.
java:186) [spring-aop-5.1.3.RELEASE.jar!
/:5.1.3.RELEASE]                                                                                                            

        at org.springframework.aop.
framework.JdkDynamicAopProxy.
invoke(JdkDynamicAopProxy.
java:212) [spring-aop-5.1.3.RELEASE.jar!
/:5.1.3.RELEASE]                                                                                                                             

        at com.sun.proxy.$Proxy250.
execute(Unknown Source) [?:?]                                                                                                                                                                                                               

        at org.springframework.webflow.
execution.ActionExecutor.
execute(ActionExecutor.java:
51) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                                             

        at org.springframework.webflow.
action.EvaluateAction.
doExecute(EvaluateAction.java:
77) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                                              

        at org.springframework.webflow.
action.AbstractAction.execute(
AbstractAction.java:188) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                                               

        at org.springframework.webflow.
execution.AnnotatedAction.
execute(AnnotatedAction.java:
145) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                                          

        at org.springframework.webflow.
execution.ActionExecutor.
execute(ActionExecutor.java:
51) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                                             

        at org.springframework.webflow.
engine.ActionState.doEnter(
ActionState.java:101) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                                                     

        at org.springframework.webflow.
engine.State.enter(State.java:
194) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                                                                   

        at org.springframework.webflow.
engine.Transition.execute(
Transition.java:228) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                                                       

        at org.springframework.webflow.
engine.impl.FlowExecutionImpl.
execute(FlowExecutionImpl.
java:395) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                                    

        at org.springframework.webflow.
engine.impl.
RequestControlContextImpl.
execute(
RequestControlContextImpl.
java:214) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                    

        at org.springframework.webflow.
engine.TransitionableState.
handleEvent(
TransitionableState.java:116) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                                 

        at org.springframework.webflow.
engine.Flow.handleEvent(Flow.
java:547) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                                                               

        at org.springframework.webflow.
engine.impl.FlowExecutionImpl.
handleEvent(FlowExecutionImpl.
java:390) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                                

        at org.springframework.webflow.
engine.impl.
RequestControlContextImpl.
handleEvent(
RequestControlContextImpl.
java:210) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                

        at org.springframework.webflow.
engine.ViewState.handleEvent(
ViewState.java:231) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                                                     

        at org.springframework.webflow.
engine.ViewState.resume(
ViewState.java:195) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                                                          

        at org.springframework.webflow.
engine.Flow.resume(Flow.java:
537) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                                                                    

        at org.springframework.webflow.
engine.impl.FlowExecutionImpl.
resume(FlowExecutionImpl.java:
259) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                                     

        at org.springframework.webflow.
executor.FlowExecutorImpl.
resumeExecution(
FlowExecutorImpl.java:168) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                                 

        at jdk.internal.reflect.
NativeMethodAccessorImpl.
invoke0(Native Method) ~[?:?]                                                                                                                                                                                         

        at jdk.internal.reflect.
NativeMethodAccessorImpl.
invoke(
NativeMethodAccessorImpl.java:
62) ~[?:?]                                                                                                                                                                       

        at jdk.internal.reflect.
DelegatingMethodAccessorImpl.
invoke(
DelegatingMethodAccessorImpl.
java:43) ~[?:?]                                                                                                                                                               

        at java.lang.reflect.Method.
invoke(Method.java:566) ~[?:?]                                                                                                                                                                                                             

        at org.springframework.util.
ReflectionUtils.invokeMethod(
ReflectionUtils.java:246) [spring-core-5.1.3.RELEASE.
jar!/:5.1.3.RELEASE]                                                                                                                                     

        at org.springframework.cloud.
context.scope.GenericScope$
LockedScopedProxyFactoryBean.
invoke(GenericScope.java:494) [spring-cloud-context-2.1.0.
RELEASE.jar!/:2.1.0.RELEASE]                                                                                            

        at org.springframework.aop.
framework.
ReflectiveMethodInvocation.
proceed(
ReflectiveMethodInvocation.
java:186) [spring-aop-5.1.3.RELEASE.jar!
/:5.1.3.RELEASE]                                                                                                            

        at org.springframework.aop.
framework.JdkDynamicAopProxy.
invoke(JdkDynamicAopProxy.
java:212) [spring-aop-5.1.3.RELEASE.jar!
/:5.1.3.RELEASE]                                                                                                                             

        at com.sun.proxy.$Proxy259.
resumeExecution(Unknown Source) [?:?]                                                                                                                                                                                                       

        at org.springframework.webflow.
mvc.servlet.
FlowHandlerAdapter.handle(
FlowHandlerAdapter.java:254) [spring-webflow-2.5.1.RELEASE.
jar!/:2.5.1.RELEASE]                                                                                                                   

        at org.springframework.web.
servlet.DispatcherServlet.
doDispatch(DispatcherServlet.
java:1038) [spring-webmvc-5.1.3.RELEASE.
jar!/:5.1.3.RELEASE]                                                                                                                         

        at org.springframework.web.
servlet.DispatcherServlet.
doService(DispatcherServlet.
java:942) [spring-webmvc-5.1.3.RELEASE.
jar!/:5.1.3.RELEASE]                                                                                                                           

        at org.springframework.web.
servlet.FrameworkServlet.
processRequest(
FrameworkServlet.java:1005) [spring-webmvc-5.1.3.RELEASE.
jar!/:5.1.3.RELEASE]                                                                                                                       

        at org.springframework.web.
servlet.FrameworkServlet.
doPost(FrameworkServlet.java:
908) [spring-webmvc-5.1.3.RELEASE.
jar!/:5.1.3.RELEASE]                                                                                                                                

        at javax.servlet.http.
HttpServlet.service(
HttpServlet.java:665) [javax.servlet-api-4.0.1.jar!/
:4.0.1]                                                                                                                                                                  

        at org.springframework.web.
servlet.FrameworkServlet.
service(FrameworkServlet.java:
882) [spring-webmvc-5.1.3.RELEASE.
jar!/:5.1.3.RELEASE]                                                                                                                               

        at javax.servlet.http.
HttpServlet.service(
HttpServlet.java:750) [javax.servlet-api-4.0.1.jar!/
:4.0.1]                                                                                                                                                                  

        at org.apache.catalina.core.
ApplicationFilterChain.
internalDoFilter(
ApplicationFilterChain.java:
231) [tomcat-embed-core-9.0.17.jar!
/:9.0.17]                                                                                                                           

        at org.apache.catalina.core.
ApplicationFilterChain.
doFilter(
ApplicationFilterChain.java:
166) [tomcat-embed-core-9.0.17.jar!
/:9.0.17]                                                                                                                                   

        at org.apereo.cas.web.support.
AuthenticationCredentialsThrea
dLocalBinderClearingFilter.
doFilter(
AuthenticationCredentialsThrea
dLocalBinderClearingFilter.
java:28) [cas-server-core-web-api-6.0.
3-SNAPSHOT.jar!/:6.0.3-
SNAPSHOT]                                        

        at org.apache.catalina.core.
ApplicationFilterChain.
internalDoFilter(
ApplicationFilterChain.java:
193) [tomcat-embed-core-9.0.17.jar!
/:9.0.17]                                                                                                                           

        at org.apache.catalina.core.
ApplicationFilterChain.
doFilter(
ApplicationFilterChain.java:
166) [tomcat-embed-core-9.0.17.jar!
/:9.0.17]                                                                                                                                   

        at org.apereo.cas.security.
RequestParameterPolicyEnforcem
entFilter.doFilter(
RequestParameterPolicyEnforcem
entFilter.java:261) [cas-server-security-filter-2.
0.10.4.jar!/:2.0.10.4]                                                                                     

        at org.apache.catalina.core.
ApplicationFilterChain.
internalDoFilter(
ApplicationFilterChain.java:
193) [tomcat-embed-core-9.0.17.jar!
/:9.0.17]                                                                                                                           

        at org.apache.catalina.core.
ApplicationFilterChain.
doFilter(
ApplicationFilterChain.java:
166) [tomcat-embed-core-9.0.17.jar!
/:9.0.17]                                                                                                                                   

        at org.apereo.cas.security.
ResponseHeadersEnforcementFilt
er.doFilter(
ResponseHeadersEnforcementFilt
er.java:240) [cas-server-security-filter-2.
0.10.4.jar!/:2.0.10.4]                                                                                                   

        at org.apache.catalina.core.
ApplicationFilterChain.
internalDoFilter(
ApplicationFilterChain.java:
193) [tomcat-embed-core-9.0.17.jar!
/:9.0.17]                                                                                                                           

        at org.apache.catalina.core.
ApplicationFilterChain.
doFilter(
ApplicationFilterChain.java:
166) [tomcat-embed-core-9.0.17.jar!
/:9.0.17]                                                                                                                                   

        at org.apereo.cas.security.
AddResponseHeadersFilter.
doFilter(
AddResponseHeadersFilter.java:
94) [cas-server-security-filter-2.
0.10.4.jar!/:2.0.10.4]                                                                                                                    

        at org.apache.catalina.core.
ApplicationFilterChain.
internalDoFilter(
ApplicationFilterChain.java:
193) [tomcat-embed-core-9.0.17.jar!
/:9.0.17]                                                                                                                           

        at org.apache.catalina.core.
ApplicationFilterChain.
doFilter(
ApplicationFilterChain.java:
166) [tomcat-embed-core-9.0.17.jar!
/:9.0.17]                                                                                                                                   

        at org.springframework.boot.
actuate.web.trace.servlet.
HttpTraceFilter.
doFilterInternal(
HttpTraceFilter.java:90) [spring-boot-actuator-2.1.2.
RELEASE.jar!/:2.1.2.RELEASE]                                                                                               

        at org.springframework.web.
filter.OncePerRequestFilter.
doFilter(OncePerRequestFilter.
java:107) [spring-web-5.1.3.RELEASE.jar!
/:5.1.3.RELEASE]                                                                                                                          

        at org.apache.catalina.core.
ApplicationFilterChain.
internalDoFilter(
ApplicationFilterChain.java:
193) [tomcat-embed-core-9.0.17.jar!
/:9.0.17]                                                                                                                           

        at org.apache.catalina.core.
ApplicationFilterChain.
doFilter(
ApplicationFilterChain.java:
166) [tomcat-embed-core-9.0.17.jar!
/:9.0.17]                                                                                                                                   

        at org.springframework.security.
web.FilterChainProxy$
VirtualFilterChain.doFilter(
FilterChainProxy.java:320) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                                                                    

        at org.springframework.security.
web.access.intercept.
FilterSecurityInterceptor.
invoke(
FilterSecurityInterceptor.
java:127) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                                                      

        at org.springframework.security.
web.access.intercept.
FilterSecurityInterceptor.
doFilter(
FilterSecurityInterceptor.
java:91) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                                                     

        at org.springframework.security.
web.FilterChainProxy$
VirtualFilterChain.doFilter(
FilterChainProxy.java:334) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                                                                    

        at org.springframework.security.
web.access.
ExceptionTranslationFilter.
doFilter(
ExceptionTranslationFilter.
java:119) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                                                            

        at org.springframework.security.
web.FilterChainProxy$
VirtualFilterChain.doFilter(
FilterChainProxy.java:334) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                                                                    

        at org.springframework.security.
web.session.
SessionManagementFilter.
doFilter(
SessionManagementFilter.java:
137) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                                                                 

        at org.springframework.security.
web.FilterChainProxy$
VirtualFilterChain.doFilter(
FilterChainProxy.java:334) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                                                                    

        at org.springframework.security.
web.authentication.
AnonymousAuthenticationFilter.
doFilter(
AnonymousAuthenticationFilter.
java:111) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                                              

        at org.springframework.security.
web.FilterChainProxy$
VirtualFilterChain.doFilter(
FilterChainProxy.java:334) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                                                                    

        at org.springframework.security.
web.servletapi.
SecurityContextHolderAwareRequ
estFilter.doFilter(
SecurityContextHolderAwareRequ
estFilter.java:170) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                              

        at org.springframework.security.
web.FilterChainProxy$
VirtualFilterChain.doFilter(
FilterChainProxy.java:334) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                                                                    

        at org.springframework.security.
web.savedrequest.
RequestCacheAwareFilter.
doFilter(
RequestCacheAwareFilter.java:
63) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                                                             

        at org.springframework.security.
web.FilterChainProxy$
VirtualFilterChain.doFilter(
FilterChainProxy.java:334) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                                                                    

        at org.springframework.security.
web.context.
SecurityContextPersistenceFilt
er.doFilter(
SecurityContextPersistenceFilt
er.java:105) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                                               

        at org.springframework.security.
web.FilterChainProxy$
VirtualFilterChain.doFilter(
FilterChainProxy.java:334) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                                                                    

        at org.springframework.security.
web.context.request.async.
WebAsyncManagerIntegrationFilt
er.doFilterInternal(
WebAsyncManagerIntegrationFilt
er.java:56) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                          

        at org.springframework.web.
filter.OncePerRequestFilter.
doFilter(OncePerRequestFilter.
java:107) [spring-web-5.1.3.RELEASE.jar!
/:5.1.3.RELEASE]                                                                                                                          

        at org.springframework.security.
web.FilterChainProxy$
VirtualFilterChain.doFilter(
FilterChainProxy.java:334) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                                                                    

        at org.springframework.security.
web.access.channel.
ChannelProcessingFilter.
doFilter(
ChannelProcessingFilter.java:
157) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                                                          

        at org.springframework.security.
web.FilterChainProxy$
VirtualFilterChain.doFilter(
FilterChainProxy.java:334) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                                                                    

        at org.springframework.security.
web.FilterChainProxy.
doFilterInternal(
FilterChainProxy.java:215) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                                                                               

        at org.springframework.security.
web.FilterChainProxy.doFilter(
FilterChainProxy.java:178) [spring-security-web-5.1.2.
RELEASE.jar!/:5.1.2.RELEASE]                                                                                                                       

        at org.springframework.web.
filter.DelegatingFilterProxy.
invokeDelegate(
DelegatingFilterProxy.java:
357) [spring-web-5.1.3.RELEASE.jar!
/:5.1.3.RELEASE]                                                                                                                  

        at org.springframework.web.
filter.DelegatingFilterProxy.
doFilter(
DelegatingFilterProxy.java:
270) [spring-web-5.1.3.RELEASE.jar!
/:5.1.3.RELEASE]                                                                                                                        

        at org.apache.catalina.core.
ApplicationFilterChain.
internalDoFilter(
ApplicationFilterChain.java:
193) [tomcat-embed-core-9.0.17.jar!
/:9.0.17]                                                                                                                           

        at org.apache.catalina.core.
ApplicationFilterChain.
doFilter(
ApplicationFilterChain.java:
166) [tomcat-embed-core-9.0.17.jar!
/:9.0.17]                                                                                                                                   

        at org.springframework.web.
filter.RequestContextFilter.
doFilterInternal(
RequestContextFilter.java:99) [spring-web-5.1.3.RELEASE.jar!
/:5.1.3.RELEAS
...

Andrey Seledkov

unread,
Apr 5, 2019, 3:57:23 PM4/5/19
to CAS Community
Ray, you was right

I forgot about dependecy

compile "org.apereo.cas:cas-server-support-jdbc:${project.'cas.version'}"

Thanks a lot!


пятница, 5 апреля 2019 г., 13:56:55 UTC+3 пользователь Andrey Seledkov написал:
Hello team.
...
Reply all
Reply to author
Forward
0 new messages