Cas 4.2.2 management webapp redirects to logout

107 views
Skip to first unread message

John Stevens II

unread,
Jun 6, 2016, 10:55:58 AM6/6/16
to CAS Community
Hi guys,

I'm having an issue with the cas-management-webapp, I can reach the cas login page with the cas-management service url:


But after I login it redirects me to the management service application, then immediately redirects me to the logout url:


OS: CentOS Linux release 7.1.1503 (Core)
Tomcat: v7
Maven: 3.3
Java: v1.7
Cas: 4.2.2
Service Registry: For simplicity i'm using the "InMemoryServiceRegistryDaoImpl" in the cas and cas-management webapps.

I've tried re-deploying multiple times using different variations of configurations but same result. I've set all the loggers to debug and the output for a single login request to the management app is below:


=============================================================
WHO: testuser1
WHAT: Supplied credentials: [testuser1]
ACTION: AUTHENTICATION_SUCCESS
APPLICATION: CAS
WHEN: Mon Jun 06 10:34:56 EDT 2016
CLIENT IP ADDRESS: 172.16.9.159
SERVER IP ADDRESS: 10.1.25.157
=============================================================

>
2016-06-06 10:34:57,217 INFO [org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN
=============================================================
WHO: audit:unknown
WHAT: TGT-**********************************************Q50F3mwqeL-cas1.example.com
ACTION: TICKET_GRANTING_TICKET_CREATED
APPLICATION: CAS
WHEN: Mon Jun 06 10:34:57 EDT 2016
CLIENT IP ADDRESS: 172.16.9.159
SERVER IP ADDRESS: 10.1.25.157
=============================================================

>
2016-06-06 10:34:57,347 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted ticket [ST-1-VEmqWXB7uqcHmXo9alba-cas1.example.com] for service [http://cas1.example.com:8080/cas-management/callback?client_name=CasClient] and principal [testuser1]>
2016-06-06 10:34:57,367 INFO [org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN
=============================================================
WHO: testuser1
ACTION: SERVICE_TICKET_CREATED
APPLICATION: CAS
WHEN: Mon Jun 06 10:34:57 EDT 2016
CLIENT IP ADDRESS: 172.16.9.159
SERVER IP ADDRESS: 10.1.25.157
=============================================================

>
2016-06-06 10:34:57,385 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <DispatcherServlet with name 'cas-management' processing GET request for [/cas-management/callback]>
2016-06-06 10:34:57,385 DEBUG [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - <Looking up handler method for path /callback>
2016-06-06 10:34:57,386 DEBUG [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - <Returning handler method [public java.lang.String org.pac4j.springframework.web.CallbackController.callback(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)]>
2016-06-06 10:34:57,386 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Returning cached instance of singleton bean 'callbackController'>
2016-06-06 10:34:57,386 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <Last-Modified value for [/cas-management/callback] is: -1>
2016-06-06 10:34:57,408 DEBUG [org.pac4j.springframework.web.CallbackController] - <client: <CasClient> | callbackUrl: http://cas1.example.com:8080/cas-management/callback?client_name=CasClient | casLoginUrl: http://cas1.example.com:8080/cas/login | casPrefixUrl: http://cas1.example.com:8080/cas/ | casProtocol: CAS30 | renew: false | gateway: false | encoding: UTF-8 | logoutHandler: org.pac4j.cas.logout.CasSingleSignOutHandler@50d9ea23 | acceptAnyProxy: false | allowedProxyChains: [] | casProxyReceptor: null |>
2016-06-06 10:34:57,408 DEBUG [org.pac4j.cas.logout.CasSingleSignOutHandler] - <Recording session for token ST-1-VEmqWXB7uqcHmXo9alba-cas1.example.com>
2016-06-06 10:34:57,408 DEBUG [org.jasig.cas.client.session.HashMapBackedSessionMappingStorage] - <Attempting to remove Session=[D13A0FBD307B4CD55EEA02D0538BD6BD]>
2016-06-06 10:34:57,408 DEBUG [org.jasig.cas.client.session.HashMapBackedSessionMappingStorage] - <No mapping for session found.  Ignoring.>
2016-06-06 10:34:57,408 DEBUG [org.pac4j.cas.client.CasClient] - <casCredentials : <CasCredentials> | serviceTicket: ST-1-VEmqWXB7uqcHmXo9alba-cas1.example.com | clientName: CasClient |>
2016-06-06 10:34:57,409 DEBUG [org.pac4j.springframework.web.CallbackController] - <credentials: <CasCredentials> | serviceTicket: ST-1-VEmqWXB7uqcHmXo9alba-cas1.example.com | clientName: CasClient |>
2016-06-06 10:34:57,409 DEBUG [org.pac4j.cas.client.CasClient] - <credentials : <CasCredentials> | serviceTicket: ST-1-VEmqWXB7uqcHmXo9alba-cas1.example.com | clientName: CasClient |>
2016-06-06 10:34:57,409 DEBUG [org.jasig.cas.client.validation.Cas30ServiceTicketValidator] - <Placing URL parameters in map.>
2016-06-06 10:34:57,409 DEBUG [org.jasig.cas.client.validation.Cas30ServiceTicketValidator] - <Calling template URL attribute map.>
2016-06-06 10:34:57,409 DEBUG [org.jasig.cas.client.validation.Cas30ServiceTicketValidator] - <Loading custom parameters from configuration.>
2016-06-06 10:34:57,409 DEBUG [org.jasig.cas.client.validation.Cas30ServiceTicketValidator] - <Retrieving response from server.>
2016-06-06 10:34:57,595 INFO [org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN
=============================================================
WHO: audit:unknown
ACTION: SERVICE_TICKET_VALIDATED
APPLICATION: CAS
WHEN: Mon Jun 06 10:34:57 EDT 2016
CLIENT IP ADDRESS: 10.1.25.157
SERVER IP ADDRESS: 10.1.25.157
=============================================================

>
2016-06-06 10:34:57,706 DEBUG [org.jasig.cas.client.validation.Cas30ServiceTicketValidator] - <Server response:



<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
    <cas:authenticationSuccess>
        <cas:user>testuser1</cas:user>




            <cas:attributes>



                        <cas:authenticationDate>2016-06-06T10:34:56.816-04:00</cas:authenticationDate>




                        <cas:isFromNewLogin>true</cas:isFromNewLogin>




                        <cas:longTermAuthenticationRequestTokenUsed>false</cas:longTermAuthenticationRequestTokenUsed>


            </cas:attributes>


    </cas:authenticationSuccess>
</cas:serviceResponse>
>
2016-06-06 10:34:57,711 DEBUG [org.pac4j.cas.client.CasClient] - <principal : testuser1>
2016-06-06 10:34:57,711 DEBUG [org.pac4j.core.profile.UserProfile] - <identifier : testuser1>
2016-06-06 10:34:57,712 DEBUG [org.pac4j.core.profile.UserProfile] - <no conversion => key : isFromNewLogin / value : true / class java.lang.String>
2016-06-06 10:34:57,712 DEBUG [org.pac4j.core.profile.UserProfile] - <no conversion => key : authenticationDate / value : 2016-06-06T10:34:56.816-04:00 / class java.lang.String>
2016-06-06 10:34:57,712 DEBUG [org.pac4j.core.profile.UserProfile] - <no conversion => key : longTermAuthenticationRequestTokenUsed / value : false / class java.lang.String>
2016-06-06 10:34:57,712 DEBUG [org.pac4j.cas.client.CasClient] - <casProfile : <CasProfile> | id: testuser1 | attributes: {authenticationDate=2016-06-06T10:34:56.816-04:00, isFromNewLogin=true, longTermAuthenticationRequestTokenUsed=false} | roles: [] | permissions: [] | isRemembered: false |>
2016-06-06 10:34:57,712 DEBUG [org.pac4j.springframework.web.CallbackController] - <profile: <CasProfile> | id: testuser1 | attributes: {authenticationDate=2016-06-06T10:34:56.816-04:00, isFromNewLogin=true, longTermAuthenticationRequestTokenUsed=false} | roles: [ROLE_ADMIN] | permissions: [] | isRemembered: false |>
2016-06-06 10:34:57,712 DEBUG [org.pac4j.springframework.web.CallbackController] - <requestedUrl: null>
2016-06-06 10:34:57,751 DEBUG [org.springframework.web.context.support.StandardServletEnvironment] - <Adding [servletConfigInitParams] PropertySource with lowest search precedence>
2016-06-06 10:34:57,751 DEBUG [org.springframework.web.context.support.StandardServletEnvironment] - <Adding [servletContextInitParams] PropertySource with lowest search precedence>
2016-06-06 10:34:57,752 DEBUG [org.springframework.web.context.support.StandardServletEnvironment] - <Adding [jndiProperties] PropertySource with lowest search precedence>
2016-06-06 10:34:57,752 DEBUG [org.springframework.web.context.support.StandardServletEnvironment] - <Adding [systemProperties] PropertySource with lowest search precedence>
2016-06-06 10:34:57,752 DEBUG [org.springframework.web.context.support.StandardServletEnvironment] - <Adding [systemEnvironment] PropertySource with lowest search precedence>
2016-06-06 10:34:57,752 DEBUG [org.springframework.web.context.support.StandardServletEnvironment] - <Initialized StandardServletEnvironment with PropertySources [servletConfigInitParams,servletContextInitParams,jndiProperties,systemProperties,systemEnvironment]>
2016-06-06 10:34:57,752 DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver] - <Searching for key 'spring.profiles.active' in [servletConfigInitParams]>
2016-06-06 10:34:57,752 DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver] - <Searching for key 'spring.profiles.active' in [servletContextInitParams]>
2016-06-06 10:34:57,752 DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver] - <Searching for key 'spring.profiles.active' in [jndiProperties]>
2016-06-06 10:34:57,752 DEBUG [org.springframework.jndi.JndiTemplate] - <Looking up JNDI object with name [java:comp/env/spring.profiles.active]>
2016-06-06 10:34:57,752 DEBUG [org.springframework.jndi.JndiLocatorDelegate] - <Converted JNDI name [java:comp/env/spring.profiles.active] not found - trying original name [spring.profiles.active]. javax.naming.NameNotFoundException: Name [spring.profiles.active] is not bound in this Context. Unable to find [spring.profiles.active].>
2016-06-06 10:34:57,752 DEBUG [org.springframework.jndi.JndiTemplate] - <Looking up JNDI object with name [spring.profiles.active]>
2016-06-06 10:34:57,752 DEBUG [org.springframework.jndi.JndiPropertySource] - <JNDI lookup for name [spring.profiles.active] threw NamingException with message: Name [spring.profiles.active] is not bound in this Context. Unable to find [spring.profiles.active].. Returning null.>
2016-06-06 10:34:57,752 DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver] - <Searching for key 'spring.profiles.active' in [systemProperties]>
2016-06-06 10:34:57,752 DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver] - <Searching for key 'spring.profiles.active' in [systemEnvironment]>
2016-06-06 10:34:57,752 DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver] - <Could not find key 'spring.profiles.active' in any property source. Returning [null]>
2016-06-06 10:34:57,752 DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver] - <Searching for key 'spring.profiles.default' in [servletConfigInitParams]>
2016-06-06 10:34:57,752 DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver] - <Searching for key 'spring.profiles.default' in [servletContextInitParams]>
2016-06-06 10:34:57,752 DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver] - <Searching for key 'spring.profiles.default' in [jndiProperties]>
2016-06-06 10:34:57,753 DEBUG [org.springframework.jndi.JndiTemplate] - <Looking up JNDI object with name [java:comp/env/spring.profiles.default]>
2016-06-06 10:34:57,753 DEBUG [org.springframework.jndi.JndiLocatorDelegate] - <Converted JNDI name [java:comp/env/spring.profiles.default] not found - trying original name [spring.profiles.default]. javax.naming.NameNotFoundException: Name [spring.profiles.default] is not bound in this Context. Unable to find [spring.profiles.default].>
2016-06-06 10:34:57,753 DEBUG [org.springframework.jndi.JndiTemplate] - <Looking up JNDI object with name [spring.profiles.default]>
2016-06-06 10:34:57,753 DEBUG [org.springframework.jndi.JndiPropertySource] - <JNDI lookup for name [spring.profiles.default] threw NamingException with message: Name [spring.profiles.default] is not bound in this Context. Unable to find [spring.profiles.default].. Returning null.>
2016-06-06 10:34:57,753 DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver] - <Searching for key 'spring.profiles.default' in [systemProperties]>
2016-06-06 10:34:57,753 DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver] - <Searching for key 'spring.profiles.default' in [systemEnvironment]>
2016-06-06 10:34:57,753 DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver] - <Could not find key 'spring.profiles.default' in any property source. Returning [null]>
2016-06-06 10:34:57,754 INFO [org.springframework.web.context.support.GenericWebApplicationContext] - <Refreshing org.springframework.web.context.support.GenericWebApplicationContext@3f9c8058: startup date [Mon Jun 06 10:34:57 EDT 2016]; parent: WebApplicationContext for namespace 'cas-management-servlet'>
2016-06-06 10:34:57,754 DEBUG [org.springframework.web.context.support.StandardServletEnvironment] - <Replacing [servletContextInitParams] PropertySource with [servletContextInitParams]>
2016-06-06 10:34:57,755 DEBUG [org.springframework.web.context.support.GenericWebApplicationContext] - <Bean factory for org.springframework.web.context.support.GenericWebApplicationContext@3f9c8058: org.springframework.beans.factory.support.DefaultListableBeanFactory@ff3335e: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@1e20720e>
2016-06-06 10:34:57,755 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Registering scope 'request' with implementation [org.springframework.web.context.request.RequestScope@7043bfdb]>
2016-06-06 10:34:57,755 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Registering scope 'session' with implementation [org.springframework.web.context.request.SessionScope@6fe8fc71]>
2016-06-06 10:34:57,755 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Registering scope 'globalSession' with implementation [org.springframework.web.context.request.SessionScope@2915981d]>
2016-06-06 10:34:57,755 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Registering scope 'application' with implementation [org.springframework.web.context.support.ServletContextScope@48b5acfd]>
2016-06-06 10:34:57,755 DEBUG [org.springframework.web.context.support.GenericWebApplicationContext] - <Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@f703b56]>
2016-06-06 10:34:57,755 DEBUG [org.springframework.web.context.support.GenericWebApplicationContext] - <Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@11479305]>
2016-06-06 10:34:57,755 DEBUG [org.springframework.ui.context.support.UiApplicationContextUtils] - <Unable to locate ThemeSource with name 'themeSource': using default [org.springframework.ui.context.support.DelegatingThemeSource@7205361f]>
2016-06-06 10:34:57,755 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@ff3335e: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@1e20720e>
2016-06-06 10:34:57,755 DEBUG [org.springframework.web.context.support.GenericWebApplicationContext] - <Unable to locate LifecycleProcessor with name 'lifecycleProcessor': using default [org.springframework.context.support.DefaultLifecycleProcessor@342467b4]>
2016-06-06 10:34:57,755 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Returning cached instance of singleton bean 'lifecycleProcessor'>
2016-06-06 10:34:57,755 DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver] - <Searching for key 'spring.liveBeansView.mbeanDomain' in [servletConfigInitParams]>
2016-06-06 10:34:57,755 DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver] - <Searching for key 'spring.liveBeansView.mbeanDomain' in [servletContextInitParams]>
2016-06-06 10:34:57,755 DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver] - <Searching for key 'spring.liveBeansView.mbeanDomain' in [jndiProperties]>
2016-06-06 10:34:57,755 DEBUG [org.springframework.jndi.JndiTemplate] - <Looking up JNDI object with name [java:comp/env/spring.liveBeansView.mbeanDomain]>
2016-06-06 10:34:57,756 DEBUG [org.springframework.jndi.JndiLocatorDelegate] - <Converted JNDI name [java:comp/env/spring.liveBeansView.mbeanDomain] not found - trying original name [spring.liveBeansView.mbeanDomain]. javax.naming.NameNotFoundException: Name [spring.liveBeansView.mbeanDomain] is not bound in this Context. Unable to find [spring.liveBeansView.mbeanDomain].>
2016-06-06 10:34:57,756 DEBUG [org.springframework.jndi.JndiTemplate] - <Looking up JNDI object with name [spring.liveBeansView.mbeanDomain]>
2016-06-06 10:34:57,756 DEBUG [org.springframework.jndi.JndiPropertySource] - <JNDI lookup for name [spring.liveBeansView.mbeanDomain] threw NamingException with message: Name [spring.liveBeansView.mbeanDomain] is not bound in this Context. Unable to find [spring.liveBeansView.mbeanDomain].. Returning null.>
2016-06-06 10:34:57,756 DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver] - <Searching for key 'spring.liveBeansView.mbeanDomain' in [systemProperties]>
2016-06-06 10:34:57,756 DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver] - <Searching for key 'spring.liveBeansView.mbeanDomain' in [systemEnvironment]>
2016-06-06 10:34:57,756 DEBUG [org.springframework.core.env.PropertySourcesPropertyResolver] - <Could not find key 'spring.liveBeansView.mbeanDomain' in any property source. Returning [null]>
2016-06-06 10:34:57,757 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Invoking afterPropertiesSet() on bean with name 'redirect:/manage.html'>
2016-06-06 10:34:57,757 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <Rendering view [org.springframework.web.servlet.view.RedirectView: name 'redirect:/manage.html'; URL [/manage.html]] in DispatcherServlet with name 'cas-management'>
2016-06-06 10:34:57,757 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <Successfully completed request>
2016-06-06 10:34:57,770 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <DispatcherServlet with name 'cas-management' processing GET request for [/cas-management/manage.html;jsessionid=D13A0FBD307B4CD55EEA02D0538BD6BD]>
2016-06-06 10:34:57,770 DEBUG [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - <Looking up handler method for path /manage.html>
2016-06-06 10:34:57,771 DEBUG [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - <Returning handler method [public org.springframework.web.servlet.ModelAndView org.jasig.cas.services.web.ManageRegisteredServicesMultiActionController.manage(javax.servlet.http.HttpServletResponse)]>
2016-06-06 10:34:57,771 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Returning cached instance of singleton bean 'manageRegisteredServicesMultiActionController'>
2016-06-06 10:34:57,771 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <Last-Modified value for [/cas-management/manage.html;jsessionid=D13A0FBD307B4CD55EEA02D0538BD6BD] is: -1>
2016-06-06 10:34:57,771 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <url: https://cas1.example.com/cas-management/manage.html;jsessionid=D13A0FBD307B4CD55EEA02D0538BD6BD>
2016-06-06 10:34:57,771 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <clientName: CasClient>
2016-06-06 10:34:57,771 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <currentClients: [<CasClient> | callbackUrl: http://cas1.example.com:8080/cas-management/callback?client_name=CasClient | casLoginUrl: http://cas1.example.com:8080/cas/login | casPrefixUrl: http://cas1.example.com:8080/cas/ | casProtocol: CAS30 | renew: false | gateway: false | encoding: UTF-8 | logoutHandler: org.pac4j.cas.logout.CasSingleSignOutHandler@50d9ea23 | acceptAnyProxy: false | allowedProxyChains: [] | casProxyReceptor: null |]>
2016-06-06 10:34:57,771 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <useSession: true>
2016-06-06 10:34:57,771 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <profile: <CasProfile> | id: testuser1 | attributes: {authenticationDate=2016-06-06T10:34:56.816-04:00, isFromNewLogin=true, longTermAuthenticationRequestTokenUsed=false} | roles: [ROLE_ADMIN] | permissions: [] | isRemembered: false |>
2016-06-06 10:34:57,771 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <authorizerName: securityHeaders,csrfToken,RequireAnyRoleAuthorizer>
2016-06-06 10:34:57,773 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <grant access>
2016-06-06 10:34:57,777 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - <Reloading registered services.>
2016-06-06 10:34:57,777 DEBUG [org.jasig.cas.services.DefaultServicesManagerImpl] - <Adding registered service ^(http|imaps)://.*>
2016-06-06 10:34:57,777 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - <Loaded 1 services from InMemoryServiceRegistryDaoImpl.>
2016-06-06 10:34:57,804 DEBUG [org.jasig.cas.util.RegexUtils] - <Pattern ^(http|imaps)://.* is a valid regex.>
2016-06-06 10:34:57,806 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Invoking afterPropertiesSet() on bean with name 'manage'>
2016-06-06 10:34:57,806 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <Rendering view [org.springframework.web.servlet.view.InternalResourceView: name 'manage'; URL [/WEB-INF/view/jsp/manage.jsp]] in DispatcherServlet with name 'cas-management'>
2016-06-06 10:34:57,806 DEBUG [org.springframework.web.servlet.view.InternalResourceView] - <Added model object 'defaultServiceUrl' of type [java.lang.String] to request in view with name 'manage'>
2016-06-06 10:34:57,806 DEBUG [org.springframework.web.servlet.view.InternalResourceView] - <Added model object 'status' of type [java.lang.Integer] to request in view with name 'manage'>
2016-06-06 10:34:57,806 DEBUG [org.springframework.web.servlet.view.InternalResourceView] - <Forwarding to resource [/WEB-INF/view/jsp/manage.jsp] in InternalResourceView 'manage'>
2016-06-06 10:34:57,902 DEBUG [org.jasig.cas.web.view.CasReloadableMessageBundle] - <No properties file found for [classpath:custom_messages_en] - neither plain properties nor XML>
2016-06-06 10:34:57,902 DEBUG [org.jasig.cas.web.view.CasReloadableMessageBundle] - <No properties file found for [classpath:custom_messages] - neither plain properties nor XML>
2016-06-06 10:34:57,902 DEBUG [org.jasig.cas.web.view.CasReloadableMessageBundle] - <No properties file found for [classpath:messages_en] - neither plain properties nor XML>
2016-06-06 10:34:57,903 DEBUG [org.jasig.cas.web.view.CasReloadableMessageBundle] - <Loading properties [messages.properties] with encoding 'UTF-8'>
2016-06-06 10:34:57,933 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <Successfully completed request>
2016-06-06 10:34:58,459 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <DispatcherServlet with name 'cas-management' processing GET request for [/cas-management/getServices.html]>
2016-06-06 10:34:58,459 DEBUG [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - <Looking up handler method for path /getServices.html>
2016-06-06 10:34:58,460 DEBUG [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - <Returning handler method [public void org.jasig.cas.services.web.ManageRegisteredServicesMultiActionController.getServices(javax.servlet.http.HttpServletResponse)]>
2016-06-06 10:34:58,460 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Returning cached instance of singleton bean 'manageRegisteredServicesMultiActionController'>
2016-06-06 10:34:58,460 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <Last-Modified value for [/cas-management/getServices.html] is: -1>
2016-06-06 10:34:58,460 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <url: https://cas1.example.com/cas-management/getServices.html>
2016-06-06 10:34:58,460 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <clientName: CasClient>
2016-06-06 10:34:58,460 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <currentClients: [<CasClient> | callbackUrl: http://cas1.example.com:8080/cas-management/callback?client_name=CasClient | casLoginUrl: http://cas1.example.com:8080/cas/login | casPrefixUrl: http://cas1.example.com:8080/cas/ | casProtocol: CAS30 | renew: false | gateway: false | encoding: UTF-8 | logoutHandler: org.pac4j.cas.logout.CasSingleSignOutHandler@50d9ea23 | acceptAnyProxy: false | allowedProxyChains: [] | casProxyReceptor: null |]>
2016-06-06 10:34:58,460 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <useSession: true>
2016-06-06 10:34:58,460 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <profile: null>
2016-06-06 10:34:58,460 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <Starting authentication>
2016-06-06 10:34:58,460 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <requestedUrl: https://cas1.example.com/cas-management/getServices.html>
2016-06-06 10:34:58,461 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <Successfully completed request>
2016-06-06 10:34:58,477 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <DispatcherServlet with name 'cas-management' processing GET request for [/cas-management/getService.html]>
2016-06-06 10:34:58,477 DEBUG [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - <Looking up handler method for path /getService.html>
2016-06-06 10:34:58,478 DEBUG [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - <Returning handler method [public void org.jasig.cas.services.web.RegisteredServiceSimpleFormController.getServiceById(java.lang.Long,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)]>
2016-06-06 10:34:58,478 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Returning cached instance of singleton bean 'registeredServiceSimpleFormController'>
2016-06-06 10:34:58,478 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <Last-Modified value for [/cas-management/getService.html] is: -1>
2016-06-06 10:34:58,478 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <url: https://cas1.example.com/cas-management/getService.html?id=-1>
2016-06-06 10:34:58,478 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <clientName: CasClient>
2016-06-06 10:34:58,478 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <currentClients: [<CasClient> | callbackUrl: http://cas1.example.com:8080/cas-management/callback?client_name=CasClient | casLoginUrl: http://cas1.example.com:8080/cas/login | casPrefixUrl: http://cas1.example.com:8080/cas/ | casProtocol: CAS30 | renew: false | gateway: false | encoding: UTF-8 | logoutHandler: org.pac4j.cas.logout.CasSingleSignOutHandler@50d9ea23 | acceptAnyProxy: false | allowedProxyChains: [] | casProxyReceptor: null |]>
2016-06-06 10:34:58,478 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <useSession: true>
2016-06-06 10:34:58,479 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <profile: null>
2016-06-06 10:34:58,479 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <Starting authentication>
2016-06-06 10:34:58,479 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <requestedUrl: https://cas1.example.com/cas-management/getService.html?id=-1>
2016-06-06 10:34:58,479 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <Successfully completed request>
2016-06-06 10:34:58,534 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <DispatcherServlet with name 'cas-management' processing GET request for [/cas-management/manage.html]>
2016-06-06 10:34:58,534 DEBUG [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - <Looking up handler method for path /manage.html>
2016-06-06 10:34:58,535 DEBUG [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - <Returning handler method [public org.springframework.web.servlet.ModelAndView org.jasig.cas.services.web.ManageRegisteredServicesMultiActionController.manage(javax.servlet.http.HttpServletResponse)]>
2016-06-06 10:34:58,535 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Returning cached instance of singleton bean 'manageRegisteredServicesMultiActionController'>
2016-06-06 10:34:58,541 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <Last-Modified value for [/cas-management/manage.html] is: -1>
2016-06-06 10:34:58,541 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <url: https://cas1.example.com/cas-management/manage.html>
2016-06-06 10:34:58,542 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <clientName: CasClient>
2016-06-06 10:34:58,542 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <currentClients: [<CasClient> | callbackUrl: http://cas1.example.com:8080/cas-management/callback?client_name=CasClient | casLoginUrl: http://cas1.example.com:8080/cas/login | casPrefixUrl: http://cas1.example.com:8080/cas/ | casProtocol: CAS30 | renew: false | gateway: false | encoding: UTF-8 | logoutHandler: org.pac4j.cas.logout.CasSingleSignOutHandler@50d9ea23 | acceptAnyProxy: false | allowedProxyChains: [] | casProxyReceptor: null |]>
2016-06-06 10:34:58,542 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <useSession: true>
2016-06-06 10:34:58,542 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <profile: null>
2016-06-06 10:34:58,542 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <Starting authentication>
2016-06-06 10:34:58,542 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <requestedUrl: https://cas1.example.com/cas-management/manage.html>
2016-06-06 10:34:58,542 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <Successfully completed request>
2016-06-06 10:34:58,621 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <DispatcherServlet with name 'cas-management' processing GET request for [/cas-management/logout]>
2016-06-06 10:34:58,621 DEBUG [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - <Looking up handler method for path /logout>
2016-06-06 10:34:58,622 DEBUG [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - <Returning handler method [public java.lang.String org.pac4j.springframework.web.ApplicationLogoutController.applicationLogout(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)]>
2016-06-06 10:34:58,622 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Returning cached instance of singleton bean 'applicationLogoutController'>
2016-06-06 10:34:58,622 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <Last-Modified value for [/cas-management/logout] is: -1>
2016-06-06 10:34:58,624 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Invoking afterPropertiesSet() on bean with name 'redirect:/logout.html'>
2016-06-06 10:34:58,624 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <Rendering view [org.springframework.web.servlet.view.RedirectView: name 'redirect:/logout.html'; URL [/logout.html]] in DispatcherServlet with name 'cas-management'>
2016-06-06 10:34:58,624 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <Successfully completed request>
2016-06-06 10:34:58,629 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <DispatcherServlet with name 'cas-management' processing GET request for [/cas-management/manage.html]>
2016-06-06 10:34:58,629 DEBUG [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - <Looking up handler method for path /manage.html>
2016-06-06 10:34:58,629 DEBUG [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - <Returning handler method [public org.springframework.web.servlet.ModelAndView org.jasig.cas.services.web.ManageRegisteredServicesMultiActionController.manage(javax.servlet.http.HttpServletResponse)]>
2016-06-06 10:34:58,629 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Returning cached instance of singleton bean 'manageRegisteredServicesMultiActionController'>
2016-06-06 10:34:58,629 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <Last-Modified value for [/cas-management/manage.html] is: -1>
2016-06-06 10:34:58,629 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <url: https://cas1.example.com/cas-management/manage.html>
2016-06-06 10:34:58,629 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <clientName: CasClient>
2016-06-06 10:34:58,629 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <currentClients: [<CasClient> | callbackUrl: http://cas1.example.com:8080/cas-management/callback?client_name=CasClient | casLoginUrl: http://cas1.example.com:8080/cas/login | casPrefixUrl: http://cas1.example.com:8080/cas/ | casProtocol: CAS30 | renew: false | gateway: false | encoding: UTF-8 | logoutHandler: org.pac4j.cas.logout.CasSingleSignOutHandler@50d9ea23 | acceptAnyProxy: false | allowedProxyChains: [] | casProxyReceptor: null |]>
2016-06-06 10:34:58,629 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <useSession: true>
2016-06-06 10:34:58,629 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <profile: null>
2016-06-06 10:34:58,630 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <Starting authentication>
2016-06-06 10:34:58,630 DEBUG [org.pac4j.springframework.web.RequiresAuthenticationInterceptor] - <requestedUrl: https://cas1.example.com/cas-management/manage.html>
2016-06-06 10:34:58,630 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <Successfully completed request>
2016-06-06 10:34:58,631 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <DispatcherServlet with name 'cas-management' processing GET request for [/cas-management/logout.html;jsessionid=72D9F6A68A74EB51EDB3B1A8C2331DEC]>
2016-06-06 10:34:58,631 DEBUG [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - <Looking up handler method for path /logout.html>
2016-06-06 10:34:58,631 DEBUG [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - <Returning handler method [public java.lang.String org.jasig.cas.services.web.ManageRegisteredServicesMultiActionController.logoutView(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpSession)]>
2016-06-06 10:34:58,631 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Returning cached instance of singleton bean 'manageRegisteredServicesMultiActionController'>
2016-06-06 10:34:58,631 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <Last-Modified value for [/cas-management/logout.html;jsessionid=72D9F6A68A74EB51EDB3B1A8C2331DEC] is: -1>
2016-06-06 10:34:58,632 DEBUG [org.jasig.cas.services.web.ManageRegisteredServicesMultiActionController] - <Invalidating application session...>
2016-06-06 10:34:58,632 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - <Invoking afterPropertiesSet() on bean with name 'logout'>
2016-06-06 10:34:58,633 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <Rendering view [org.springframework.web.servlet.view.InternalResourceView: name 'logout'; URL [/WEB-INF/view/jsp/logout.jsp]] in DispatcherServlet with name 'cas-management'>
2016-06-06 10:34:58,633 DEBUG [org.springframework.web.servlet.view.InternalResourceView] - <Forwarding to resource [/WEB-INF/view/jsp/logout.jsp] in InternalResourceView 'logout'>
2016-06-06 10:34:58,637 DEBUG [org.springframework.web.servlet.DispatcherServlet] - <Successfully completed request>
2016-06-06 10:35:45,597 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - <Reloading registered services.>
2016-06-06 10:35:45,597 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - <Loaded 1 services from InMemoryServiceRegistryDaoImpl.>
2016-06-06 10:36:45,597 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - <Reloading registered services.>
2016-06-06 10:36:45,597 INFO [org.jasig.cas.services.DefaultServicesManagerImpl] - <Loaded 1 services from InMemoryServiceRegistryDaoImpl.>

John Stevens II

unread,
Jun 7, 2016, 10:29:51 AM6/7/16
to CAS Community
To all who may be having this problem, I switched to tomcat version 8 and all my issues regarding this issue were resolved.

Nothing was changes as far as my configuration.
Reply all
Reply to author
Forward
0 new messages