Re: [cas-user] [7.0.5.1] Slow response time

2024-07-18 Thread spfma.tech via CAS Community
Hi, I had already found "spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.web.EmbeddedWebServerFactoryCustomizerAutoconfiguration", which seemed to solve the slow response after a long idle period. But with this specific Tomcat setting, it's blazing fast right from startup.

[cas-user] [7.0.5.1] Slow response time

2024-07-05 Thread spfma.tech via CAS Community
Hi, I have just deployed CAS 7.0.5.1 using the configuration files from the 6.6.13 instance (home-made Docker image) we were successfully running until now. After some minor changes due to the deprecation of some configuration attributes, everyting is running fine. But I have a strange per

Re: [cas-user] CAS 7 and OIDC problems

2024-01-19 Thread spfma.tech via CAS Community
auth.access-token.crypto.signing.key Your title says cas 7 but your log says 6.6. Could there be a library conflict? Ray On Wed, 2024-01-17 at 11:10 +0100, spfma.tech via CAS Community wrote: Notice: This message was sent from outside the University of Victoria email system. Please be

Re: [cas-user] CAS 7 and OIDC problems

2024-01-18 Thread spfma.tech via CAS Community
Hi Ray, Thanks for your answer but it looks even more mysterious than the error message itself :-)) Regards Le 18-Jan-2024 03:34:40 +0100, r...@uvic.ca a crit: -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1V

[cas-user] CAS 7 and OIDC problems

2024-01-17 Thread spfma.tech via CAS Community
Hi, I am trying to setup OIDC module, and I experience some problems. My CAS server (let's name it "appserver.my.domain") is running on port 8080, with HAProxy exposing public URLs (let's name it "public.my.domain"). So after rebuilding the webapp including "org.apereo.cas:cas-server-suppo

[cas-user] [6.6.13] cas-overlay-template slow rendering of login page

2023-11-02 Thread spfma.tech via CAS Community
Hi, I was planning to update our 6.4.2 instances to 6.6.13, when I discovered something strange : when the login page is called for the first time on a freshly launched browser (or after total cache cleaning), it takes ages to be rendered (over 20s). But all subsequent calls are fine as long a

Re: [cas-user] Custom webflow priority

2023-10-12 Thread spfma.tech via CAS Community
configurer/AbstractCasWebflowConfigurer.java which has an order field and a number of helper methods. Ray On Wed, 2023-10-11 at 11:45 +0200, spfma.tech via CAS Community wrote: Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive i

[cas-user] Custom webflow priority

2023-10-11 Thread spfma.tech via CAS Community
Hi, I managed to inject some custom webflow modifications and I am facing a problem : it seems other webflows (I first added 'mfa-gauth' and then 'simple-mfa') always supersede mine in the end, as seen in the logs : 2023-10-11 11:35:09,560 DEBUG [org.springframework.webflow.definition.regis

Re: [cas-user] CAS 6.6 Extending CAS Webflow problems

2023-09-21 Thread spfma.tech via CAS Community
Hi, For this one, I was able to find the solution myself after a several hours break : package "org.example.something" was not related to any already configured logger. So with these statements and a restart it's much better :-) Regards Le 20-Sep-2023 14:35:03 +0200, cas-user@aper

[cas-user] CAS 6.6 Extending CAS Webflow problems

2023-09-20 Thread spfma.tech via CAS Community
Hi, I have spent a lot of time trying to understand how the internals of CAS Webflow are working during the last weeks, and I have made some progress. With informations gathered here https://apereo.github.io/cas/6.6.x/webflow/Webflow-Customization-Extensions.html and there https://fawnoos.c

~Re: [cas-user] [CAS 6.6.8] Custom MFA triggers

2023-09-13 Thread spfma.tech via CAS Community
m/2021/08/20/cas64-webflow-extensions/ https://fawnoos.com/2022/04/21/cas66-webflow-groovy-actions/ I have a helper class that can print out the flow https://gist.github.com/rbonatuvic/d3ef9e8dc0c5a78870a8520bc2ab2b74 Ray On Wed, 2023-09-06 at 14:46 +0200, spfma.tech via CAS Communi

Re: [cas-user] [CAS 6.6.8] Custom MFA triggers

2023-09-12 Thread spfma.tech via CAS Community
+0200, r...@uvic.ca a crit: These should help https://fawnoos.com/2021/08/20/cas64-webflow-extensions/ https://fawnoos.com/2022/04/21/cas66-webflow-groovy-actions/ I have a helper class that can print out the flow https://gist.github.com/rbonatuvic/d3ef9e8dc0c5a78870a8520bc2ab2b74 Ray O

Re: [cas-user] [CAS 6.6.8] Custom MFA triggers

2023-09-06 Thread spfma.tech via CAS Community
Le 21-Jul-2023 20:00:53 +0200, rb...@uvic.ca a crit: This may provide some direction https://fawnoos.com/2018/11/22/cas5-groovy-mfa/ There may be other posts on this site that can help. Ray On Fri, 2023-07-21 at 08:49 +0200, spfma.tech via CAS Community wrote: Notice: This message was

Re: [cas-user] CAS 6.6.11 : help needed for cas-server-support-gauth-couchdb debugging

2023-08-31 Thread spfma.tech via CAS Community
e you talking about a cas restart, a couchdb restart, or both? Is it possible that a cas restart re-initializes the db? (I have not used any cas db functionality, so am unfamiliar with its operation or config.) Can you check that the records exist in couchdb? How are cas tickets being stored? I

Re: [cas-user] CAS 6.6.11 : help needed for cas-server-support-gauth-couchdb debugging

2023-08-31 Thread spfma.tech via CAS Community
Hi, Thank you very much for this very valuable answer ! I totally forgot to make those keys persistent, after seeing them during the startups and not even being able to notice they were different each time ... And I also purposely ignored 'publishToMavenLocal' in my command line, as I thou

Re: [cas-user] CAS 6.6.11 : help needed for cas-server-support-gauth-couchdb debugging

2023-08-25 Thread spfma.tech via CAS Community
gging for that class may not show at info or debug. Or add to log4j2.xml: If you want a more 'capable' development environment, here are some notes on intellij (I think there is a free version), https://apereo.github.io/cas/development/developer/Build-Process.html#intellij-i

Re: [cas-user] CAS 6.6.11 : help needed for cas-server-support-gauth-couchdb debugging

2023-08-24 Thread spfma.tech via CAS Community
/developer/Build-Process.html#intellij-idea Ray On Wed, 2023-08-23 at 17:43 +0200, spfma.tech via CAS Community wrote: Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information.Hi, I am still trying to u

Re: [cas-user] CAS 6.6.11 : help needed for cas-server-support-gauth-couchdb debugging

2023-08-24 Thread spfma.tech via CAS Community
Hi, Thanks for your answer. Is there any reason why it has been removed ? Regards Le 23-Aug-2023 20:18:47 +0200, jbanner6...@gmail.com a crit: Were no longer on 6.x series, as in your case, we used couchdb for many items and it is being removed in 7.x so we went ahead and moved on and it lo

[cas-user] CAS 6.6.11 : help needed for cas-server-support-gauth-couchdb debugging

2023-08-23 Thread spfma.tech via CAS Community
Hi, I am still trying to understand what is wrong with "cas-server-support-gauth-couchdb" (only the first authenticator is recorded in the database, none is working anymore after a restart). As I am not a Java dev (I don't have the skills and don't have the most convenient tools), my idea w

Re: [cas-user] [CAS 6.6.8] Custom MFA triggers

2023-07-25 Thread spfma.tech via CAS Community
Hi, Thansk for your file, I will have a look at it. And I think I will have to study the whole code in fact, I don't know who is triggering what and how for now. Regards Le 21-Jul-2023 20:33:38 +0200, jbanner6...@gmail.com a crit: This is slimmed down using the groovy script trigger, cas.aut

~Re: [cas-user] [CAS 6.6.8] Custom MFA triggers

2023-07-25 Thread spfma.tech via CAS Community
other posts on this site that can help. Ray On Fri, 2023-07-21 at 08:49 +0200, spfma.tech via CAS Community wrote: Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information.Hi, I would like to imple

Re: [cas-user] [CAS 6.6.8] Custom MFA triggers

2023-07-25 Thread spfma.tech via CAS Community
Hi, Thanks for your answer. So far we don't rely on surrogate, just using a simple LDAP backend. But it's nice to now there are some constraints and bypasses. Yes, injecting some parameters to make service names more dynamic is a good idea. Regards Le 22-Jul-2023 06:34:41 +0200, tosl...@smythc

[cas-user] [CAS 6.6.8] Custom MFA triggers

2023-07-20 Thread spfma.tech via CAS Community
Hi, I would like to implement some conditional MFA scenarios (using a different provider depending on the network is the first one), but reading https://apereo.github.io/cas/6.6.x/mfa/Configuring-Multifactor-Authentication-Triggers-Custom.html does not provide a lot of help. Is there some code s

[cas-user] [6.6.9] Multifactor authentication problems

2023-07-11 Thread spfma.tech via CAS Community
Hi, I am trying to setup MFA, with GoogleAuthenticator as a first try. As it seemed to work with default in memory storage, I decided to give a try to CouchDB registration. I chose this one because I plan to setup a high availability service, with two nodes. So I need a very simple and repl