Re: [cas-user] CAS 6.2.x custom theme problem - theme not changing

2020-10-21 Thread Jonathon Taylor
John, We saw the same behavior and fixed it by disabling Spring thymeleaf caching. Performance testing shows no difference so seems like an OK fix. Try adding this to cas.properties: spring.thymeleaf.cache=false Jonathon On Wed, Oct 21, 2020 at 3:12 PM John Wagenleitner <

[cas-user] CAS 6.2.x custom theme problem - theme not changing

2020-10-21 Thread John Wagenleitner
Upgrading from 6.1.7 to the 6.2.x release and noticing that once a custom theme is displayed, that theme is displayed from that point on no matter what theme the service definition specifies and it happens for all browsers/users and not just on the browser that first requested the service with

Re: [cas-user] HandlerResult

2020-10-21 Thread Jeffrey Ramsay
Dmitriy, Thank you; much appreciated. -Jeff On Wed, Oct 21, 2020 at 3:10 PM Dmitriy Kopylenko wrote: > Unfortunately, the documentation is not up to date. The API has changed. > As you could see there is no HandlerResult type anymore: >

Re: [cas-user] HandlerResult

2020-10-21 Thread Dmitriy Kopylenko
Unfortunately, the documentation is not up to date. The API has changed. As you could see there is no HandlerResult type anymore:

Re: [cas-user] HandlerResult

2020-10-21 Thread Jeffrey Ramsay
Hello, I was following the code listed here. https://apereo.github.io/cas/6.2.x/installation/Configuring-Custom-Authentication.html Also, I added the following to build.gradle: implementation "org.apereo.cas:cas-server-core-api-authentication:${casServerVersion}" implementation

Re: [cas-user] HandlerResult

2020-10-21 Thread Dmitriy Kopylenko
Hi there. Which stub code example? You’d want to make sure you implement the correct SPI for AuthenticationHandler, which is this: https://github.com/apereo/cas/blob/6.2.x/api/cas-server-core-api-authentication/src/main/java/org/apereo/cas/authentication/AuthenticationHandler.java Best, D. On

[cas-user] HandlerResult

2020-10-21 Thread Jeffrey Ramsay
Hello - I am trying to build an authentication handler in cas 6.2 using the stub code from the example and cannot get past the following error message. Does anyone know if this is no longer valid? or where I can find the module where this class is defined? error: cannot find symbol import

Re: [cas-user] Strict Authentication Source Policy with newer Authentication Policy approach - CAS 6.2.3

2020-10-21 Thread Colin Ryan
Ray, That's where I picked up the configurations for what I've been trying but it seems like it's still falling through past the Handler I want to be required. Was just wondering if I'm misinterpreting the need for  or the context of using the criteria configurations as well. The