CAS Response Body

157 views
Skip to first unread message

Sovannara Chhun

unread,
Jul 16, 2025, 11:04:47 PMJul 16
to CAS Community
Hi,

I'm new to cas and trying to do cas war overlay for my application. So far  i was able to see as server able to successfully authenticate my user. However, the XML on the final cas response seems incomplete. Not sure what I'm missing.

2025-07-17 00:21:25,536 [https-jsse-nio-8443-exec-2] TRACE org.apereo.cas.services.web.view.AbstractDelegatingCasView - Prepared output model with objects [assertion]. Now rendering view...
2025-07-17 00:21:25,537 [https-jsse-nio-8443-exec-2] TRACE org.apereo.cas.services.web.ChainingThemeResolver - Attempting to resolve theme via [CookieThemeResolver]
2025-07-17 00:21:25,537 [https-jsse-nio-8443-exec-2] TRACE org.apereo.cas.services.web.ChainingThemeResolver - Attempting to resolve theme via [SessionThemeResolver]
2025-07-17 00:21:25,537 [https-jsse-nio-8443-exec-2] TRACE org.apereo.cas.services.web.ChainingThemeResolver - Attempting to resolve theme via [RequestHeaderThemeResolver]
2025-07-17 00:21:25,537 [https-jsse-nio-8443-exec-2] TRACE org.apereo.cas.services.web.ChainingThemeResolver - Attempting to resolve theme via [RegisteredServiceThemeResolver]
2025-07-17 00:21:25,537 [https-jsse-nio-8443-exec-2] TRACE org.apereo.cas.services.web.RegisteredServiceThemeResolver - No service is found in the request context. Falling back to the default theme [cas-theme-default]
2025-07-17 00:21:25,537 [https-jsse-nio-8443-exec-2] TRACE org.apereo.cas.services.web.RegisteredServiceThemeResolver - Storing theme [cas-theme-default] as a request attribute under [theme]
2025-07-17 00:21:25,537 [https-jsse-nio-8443-exec-2] TRACE org.apereo.cas.services.web.ChainingThemeResolver - Attempting to resolve theme via [FixedThemeResolver]
2025-07-17 00:21:25,537 [https-jsse-nio-8443-exec-2] TRACE org.apereo.cas.services.web.ChainingThemeResolver - No specific theme could be found. Using default theme [cas-theme-default]
2025-07-17 00:21:25,564 [https-jsse-nio-8443-exec-2] DEBUG org.apereo.cas.services.web.view.AbstractDelegatingCasView - Final CAS response for [protocol/3.0/casServiceValidationSuccess] is:
<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
    <cas:authenticationSuccess>
        <cas:user>schhun20</cas:user>
       

2025-07-16 18:21:25,576 [https-jsse-nio-8443-exec-1] DEBUG org.jasig.cas.client.validation.Cas20ServiceTicketValidator - Server response: <cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
    <cas:authenticationSuccess>
        <cas:user>schhun20</cas:user>
       

2025-07-17 00:21:25,575 [https-jsse-nio-8443-exec-2] ERROR org.springframework.boot.web.servlet.support.ErrorPageFilter - Cannot forward to error page for request [/serviceValidate] as the response has already been committed. As a result, the response may have the wrong status code. If your application is running on WebSphere Application Server you may be able to resolve this problem by setting com.ibm.ws.webcontainer.invokeFlushAfterService to false
java.lang.ExceptionInInitializerError: null
at org.springframework.data.repository.support.Repositories.hasRepositoryFor(Repositories.java:132) ~[spring-data-commons-2.7.2.jar:2.7.2]

Much appreciate the help!

Ray Bon

unread,
Jul 28, 2025, 10:55:32 PMJul 28
to cas-...@apereo.org
Sovannara,

You will be able to see what is happening with the login flow from the audit log.

Is the DEBUG log from org.jasig.cas.client from the cas server or your application?

Ray

From: cas-...@apereo.org <cas-...@apereo.org> on behalf of Sovannara Chhun <chhva...@gmail.com>
Sent: July 16, 2025 17:26
To: CAS Community <cas-...@apereo.org>
Subject: [cas-user] CAS Response Body
 
You don't often get email from chhva...@gmail.com. Learn why this is important
--
- Website: https://apereo.github.io/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/7df88cf9-4460-4386-a7e0-c6c5cf0109d8n%40apereo.org.

Ray Bon

unread,
Aug 6, 2025, 11:41:30 PMAug 6
to CAS Community
Sovannara,

Sorry, I should have asked what version of cas you are installing.
You should use the 7.2 or master branch (7.3) of https://github.com/apereo/cas-overlay-template

There is no longer any active code for the org.jasig.cas.client in the cas server.

Ray

From: Sovannara Chhun <chhva...@gmail.com>
Sent: August 6, 2025 14:52
To: CAS Community <cas-...@apereo.org>
Cc: Ray Bon <rb...@uvic.ca>
Subject: Re: [cas-user] CAS Response Body
 
You don't often get email from chhva...@gmail.com. Learn why this is important

Ray,

The audit log says SERVICE_TICKET_VALIDATE_SUCCESS and PROTOCOL_SPECIFICATION_VALIDATE_SUCCESS. That debug log is from the cas server.

Sovannara Chhun

unread,
Aug 6, 2025, 11:41:30 PMAug 6
to CAS Community, Ray Bon
Hi Ray, 

the DEBUG log is from the cas server

On Monday, July 28, 2025 at 8:55:32 PM UTC-6 Ray Bon wrote:

Sovannara Chhun

unread,
Aug 6, 2025, 11:41:31 PMAug 6
to CAS Community, Ray Bon

Ray,

The audit log says SERVICE_TICKET_VALIDATE_SUCCESS and PROTOCOL_SPECIFICATION_VALIDATE_SUCCESS. That debug log is from the cas server.
On Monday, July 28, 2025 at 8:55:32 PM UTC-6 Ray Bon wrote:
Reply all
Reply to author
Forward
0 new messages