Hi, I am trying to replace an old CAS 3.5, and having been far from this product during all these years, things have changed a lot ! After some trials and errors, I was able to clone the overlay repo, extract the fragments I needed to customize and build the WAR. Then I managed to add the required dependencies to get a working LDAP auth source (unfortunately without pooling) and a JSON services registry, and build a more complete WAR. But now I am facing a problem I can not solve : the old CAS had some customized webflow and some Java code to provide dynamic authentication depending on a list of network addresses (either direct LDAP or SPNEGO) I guess adapting this part will be something, but right now I am struggling at the very first step ! Wanting to give a try to this example : https://apereo.github.io/cas/6.4.x/webflow/Webflow-Customization-Extensions.html I am not able to compile " SomethingConfiguration" and I get the following errors : /opt/cas/src/main/java/org/example/something/SomethingConfiguration.java:5: error: cannot find symbol public class SomethingConfiguration implements CasWebflowExecutionPlanConfigurer { ^ symbol: class CasWebflowExecutionPlanConfigurer /opt/cas/src/main/java/org/example/something/SomethingConfiguration.java:3: error: cannot find symbol @Configuration("somethingConfiguration") ^ symbol: class Configuration /opt/cas/src/main/java/org/example/something/SomethingConfiguration.java:4: error: cannot find symbol @EnableConfigurationProperties(CasConfigurationProperties.class) ^ symbol: class EnableConfigurationProperties /opt/cas/src/main/java/org/example/something/SomethingConfiguration.java:8: error: cannot find symbol private CasConfigurationProperties casProperties; ^ symbol: class CasConfigurationProperties location: class SomethingConfiguration /opt/cas/src/main/java/org/example/something/SomethingConfiguration.java:12: error: cannot find symbol private FlowDefinitionRegistry loginFlowDefinitionRegistry; ^ symbol: class FlowDefinitionRegistry location: class SomethingConfiguration /opt/cas/src/main/java/org/example/something/SomethingConfiguration.java:15: error: cannot find symbol private ApplicationContext applicationContext; ^ symbol: class ApplicationContext location: class SomethingConfiguration /opt/cas/src/main/java/org/example/something/SomethingConfiguration.java:18: error: cannot find symbol private FlowBuilderServices flowBuilderServices; ^ symbol: class FlowBuilderServices location: class SomethingConfiguration /opt/cas/src/main/java/org/example/something/SomethingConfiguration.java:22: error: cannot find symbol public CasWebflowConfigurer somethingWebflowConfigurer() { ^ symbol: class CasWebflowConfigurer location: class SomethingConfiguration /opt/cas/src/main/java/org/example/something/SomethingConfiguration.java:28: error: cannot find symbol public void configureWebflowExecutionPlan(final CasWebflowExecutionPlan plan) { ^ symbol: class CasWebflowExecutionPlan location: class SomethingConfiguration /opt/cas/src/main/java/org/example/something/SomethingConfiguration.java:4: error: cannot find symbol @EnableConfigurationProperties(CasConfigurationProperties.class) ^ symbol: class CasConfigurationProperties /opt/cas/src/main/java/org/example/something/SomethingConfiguration.java:7: error: cannot find symbol @Autowired ^ symbol: class Autowired location: class SomethingConfiguration /opt/cas/src/main/java/org/example/something/SomethingConfiguration.java:10: error: cannot find symbol @Autowired ^ symbol: class Autowired location: class SomethingConfiguration /opt/cas/src/main/java/org/example/something/SomethingConfiguration.java:11: error: cannot find symbol @Qualifier("loginFlowRegistry") ^ symbol: class Qualifier location: class SomethingConfiguration /opt/cas/src/main/java/org/example/something/SomethingConfiguration.java:14: error: cannot find symbol @Autowired ^ symbol: class Autowired location: class SomethingConfiguration /opt/cas/src/main/java/org/example/something/SomethingConfiguration.java:17: error: cannot find symbol @Autowired ^ symbol: class Autowired location: class SomethingConfiguration /opt/cas/src/main/java/org/example/something/SomethingConfiguration.java:20: error: cannot find symbol @ConditionalOnMissingBean(name = "somethingWebflowConfigurer") ^ symbol: class ConditionalOnMissingBean location: class SomethingConfiguration /opt/cas/src/main/java/org/example/something/SomethingConfiguration.java:21: error: cannot find symbol @Bean ^ symbol: class Bean location: class SomethingConfiguration It seems SpringBoot dependencies are not satisfied (I discovered all the concepts ten days ago so I might be wrong) but after "finding", "greping" and adding dozens of combinations like these, nothing has improved : implementation "org.apereo.cas:cas-server-core-api-configuration-model:${project.'cas.version'}" implementation "org.apereo.cas:cas-server-core-configuration:${project.'cas.version'}" implementation "org.apereo.cas:cas-server-core-webflow-api:${project.'cas.version'}" implementation "org.apereo.cas:cas-server-core-web-api:${project.'cas.version'}" implementation "org.apereo.cas:cas-server-core-util:${project.'cas.version'}" implementation "org.apereo.cas:cas-server-core-configuration-api:${project.'cas.version'}" I used the "build.gradle" provided in the repo, just adding dependencies for LDAP and JSON. Can somebody tell me what I am missing ? Regards
------------------------------------------------------------------------------------------------- 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/20220126151139.59F5AC009D%40smtp04.mail.de.
