Hi, Thanks for your answer. I had at look at this class but first found no
way to alter "order" propery as it is private and has no setter. But studying
the code and later unterstanding what Lombok (new to this stuff) does with
setters and getters at class level (first saw only examples with property level
annotations) lead me to a more satisfying : public class
CustomWebflowDefinition extends AbstractCasWebflowConfigurer { public
CustomWebflowDefinition(FlowBuilderServices flowBuilderServices,
FlowDefinitionRegistry flowDefinitionRegistry, ConfigurableApplicationContext
applicationContext, CasConfigurationProperties casProperties) {
super(flowBuilderServices, flowDefinitionRegistry, applicationContext,
casProperties); setOrder(Ordered.LOWEST_PRECEDENCE); So far I have the
expected result. Think I will have to tweak with order values in cas of any
conflict. Regards
Le 12-Oct-2023 04:42:29 +0200, [email protected] a crit:
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] -
2023-10-11 11:35:11,188 DEBUG
[org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl] -
2023-10-11 11:35:11,420 DEBUG
[org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl] -
2023-10-11 11:35:11,524 DEBUG
[org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl] -
2023-10-11 11:35:11,713 DEBUG [fr.tst.cas.web.flow.CustomConfiguration] -
2023-10-11 11:35:11,951 DEBUG
[org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl] -
2023-10-11 11:35:11,954 DEBUG
[org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl] -
What is it due to ? Is there a way to manage some priorities or even force
things ? Regards
-------------------------------------------------------------------------------------------------
FreeMail powered by mail.fr
-------------------------------------------------------------------------------------------------
FreeMail powered by 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/4a86ad77b39512dc0f7a21a1e2047c3a94f434ff%40mail.de.