The order is part of spring webflow, so look into that.
Cas does have some helper methods. See 
https://github.com/apereo/cas/blob/6.6.x/core/cas-server-core-webflow-api/src/main/java/org/apereo/cas/web/flow/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 information.

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.registry.FlowDefinitionRegistryImpl] - 
<Registering flow definition 'org.springframework.webflow.engine.Flow' under id 
'login'>
2023-10-11 11:35:11,188 DEBUG 
[org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl] - 
<Registering flow definition 'org.springframework.webflow.engine.Flow' under id 
'logout'>
2023-10-11 11:35:11,420 DEBUG 
[org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl] - 
<Registering flow definition 'org.springframework.webflow.engine.Flow' under id 
'mfa-simple'>
2023-10-11 11:35:11,524 DEBUG 
[org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl] - 
<Registering flow definition 'org.springframework.webflow.engine.Flow' under id 
'mfa-gauth'>
2023-10-11 11:35:11,713 DEBUG [fr.tst.cas.web.flow.CustomConfiguration] - 
<[TST] configureWebflowExecutionPlan@CustomConfiguration - it's like 
registering flow definition [class fr.tst.cas.web.flow.CustomWebflowDefinition]>
2023-10-11 11:35:11,713 DEBUG [fr.tst.cas.web.flow.CustomConfiguration] - 
<[TST] configureWebflowExecutionPlan@CustomConfiguration - it's like 
registering flow definition [class fr.tst.cas.web.flow.CustomWebflowDefinition]>
2023-10-11 11:35:11,951 DEBUG 
[org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl] - 
<Registering flow definition 'org.springframework.webflow.engine.Flow' under id 
'mfa-simple'>
2023-10-11 11:35:11,954 DEBUG 
[org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl] - 
<Registering flow definition 'org.springframework.webflow.engine.Flow' under id 
'mfa-gauth'>

What is it due to ?

Is there a way to manage some priorities or even force things ?

Regards



________________________________
FreeMail powered by mail.fr<https://mail.fr>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/225604cbd3f8319ced26faf4daa78e1735394bad.camel%40uvic.ca.

Reply via email to