my version is 6.6.7 and in debugging i will identify that this class "org.apereo.cas.throttle.DefaultThrottledRequestResponseHandler" seems to clean the service information in context before calling "response.sendError(423, msg);"
anyone have any suggestions? Il giorno martedì 7 gennaio 2025 alle 19:27:24 UTC+1 Alessandro Rocca ha scritto: > Hello everyone, > I am new to this community, and I am writing about a problem I don't > understand. Here's my issue: > I tried to customize the error page error/423.html with a specific > thematic design. > During a login attempt, my theme was applied correctly. > However, after a throttling event, the error page reverted to the default > theme. Below, I will share some log fragments, and I would greatly > appreciate your kind assistance. > > > AFTER THROTTLING EVENT > > 2025-01-07 16:49:25,801 WARN > [org.apereo.cas.throttle.DefaultThrottledRequestResponseHandler] - <Access > Denied for user [###] from IP Address [###]> > 2025-01-07 16:49:25,819 TRACE > [org.apereo.cas.services.web.ChainingThemeResolver] - <Attempting to > resolve theme via [CookieThemeResolver]> > 2025-01-07 16:49:25,819 TRACE > [org.apereo.cas.services.web.ChainingThemeResolver] - <Attempting to > resolve theme via [SessionThemeResolver]> > 2025-01-07 16:49:25,819 TRACE > [org.apereo.cas.services.web.ChainingThemeResolver] - <Attempting to > resolve theme via [RequestHeaderThemeResolver]> > 2025-01-07 16:49:25,819 TRACE > [org.apereo.cas.services.web.ChainingThemeResolver] - <Attempting to > resolve theme via [RegisteredServiceThemeResolver]> > 2025-01-07 16:49:25,819 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-01-07 16:49:25,819 TRACE > [org.apereo.cas.services.web.RegisteredServiceThemeResolver] - <Storing > theme [cas-theme-default] as a request attribute under [theme]> > 2025-01-07 16:49:25,819 TRACE > [org.apereo.cas.services.web.ChainingThemeResolver] - <Attempting to > resolve theme via [FixedThemeResolver]> > 2025-01-07 16:49:25,819 TRACE > [org.apereo.cas.services.web.ChainingThemeResolver] - <No specific theme > could be found. Using default theme [cas-theme-default]> > 2025-01-07 16:49:25,819 TRACE > [org.apereo.cas.services.web.ThemeViewResolver$Factory] - <Creating theme > view resolver based on theme [cas-theme-default]> > 2025-01-07 16:49:25,819 TRACE > [org.apereo.cas.services.web.ThemeViewResolver] - <Attempting to resolve > view [error/423] via locale [it_IT]> > 2025-01-07 16:49:25,821 TRACE > [org.apereo.cas.services.web.ThemeViewResolver] - <Attempting to locate > theme location at [classpath:/templates/cas-theme-default/error/423.html]> > -- - 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+unsubscr...@apereo.org. To view this discussion visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/3d9ce936-3450-4ee2-98aa-f5c39234e535n%40apereo.org.