use of org.apereo.cas.web.flow.configurer.DynamicFlowModelBuilder in project cas by apereo.
the class DuoSecurityMultifactorWebflowConfigurer method buildDuoFlowRegistry.
private FlowDefinitionRegistry buildDuoFlowRegistry(final DuoSecurityMultifactorAuthenticationProperties properties) {
val modelBuilder = new DynamicFlowModelBuilder();
createDuoFlowVariables(modelBuilder);
createDuoFlowStartActions(modelBuilder);
createDuoFlowStates(modelBuilder, properties);
if (StringUtils.isBlank(properties.getDuoApplicationKey())) {
createDuoFlowUniversalPromptActions(getLoginFlow());
}
return createDuoFlowDefinitionRegistry(properties, modelBuilder);
}
use of org.apereo.cas.web.flow.configurer.DynamicFlowModelBuilder in project cas by apereo.
the class DuoMultifactorWebflowConfigurer method buildDuoFlowRegistry.
private FlowDefinitionRegistry buildDuoFlowRegistry(final MultifactorAuthenticationProvider p) {
final DynamicFlowModelBuilder modelBuilder = new DynamicFlowModelBuilder();
createDuoFlowVariables(modelBuilder);
createDuoFlowStartActions(modelBuilder);
createDuoFlowStates(modelBuilder);
return createDuoFlowDefinitionRegistry(p, modelBuilder);
}
Aggregations