webflow extension not executing

49 views
Skip to first unread message

Pablo Vidaurri

unread,
Sep 23, 2020, 4:59:34 PM9/23/20
to CAS Community
Is this documentation on extending webflows still apply for CAS 6.2:

I've included cas-server-core-webflow dependency, copied/pasted the SomethingConfiguration and SomethingWebflowConfigurer classes and added an EnableAutoConfiguration entry in src/main/resources/META-INF/spring.factories.

Ran gradlew clean build
then debug mode gradle run.

After I login, i get a ticket issued. I expected to hit a break point in SomethingWebflowConfigurer class but I don't. I don't even see log statements getting printed out.

Thanks.
-psv

Pablo Vidaurri

unread,
Sep 27, 2020, 11:09:15 AM9/27/20
to CAS Community, Pablo Vidaurri

I ask this because I get an autowired error on 
@Qualifier("loginFlowRegistry")
and 
private FlowBuilderServices flowBuilderServices;

I have the following imports (plus others):
import org.springframework.webflow.definition.registry.FlowDefinitionRegistry;
import org.springframework.webflow.engine.builder.support.FlowBuilderServices;

seems if I comment out the Configuration annotation errors go away.

-psv
Reply all
Reply to author
Forward
0 new messages