use of org.springframework.webflow.config.FlowDefinitionRegistryBuilder in project cas by apereo.
the class SwivelConfiguration method swivelAuthenticatorFlowRegistry.
@Bean
public FlowDefinitionRegistry swivelAuthenticatorFlowRegistry() {
final FlowDefinitionRegistryBuilder builder = new FlowDefinitionRegistryBuilder(this.applicationContext, this.flowBuilderServices);
builder.setBasePath("classpath*:/webflow");
builder.addFlowLocationPattern("/mfa-swivel/*-webflow.xml");
return builder.build();
}
use of org.springframework.webflow.config.FlowDefinitionRegistryBuilder in project cas by apereo.
the class YubiKeyConfiguration method yubikeyFlowRegistry.
@Bean
public FlowDefinitionRegistry yubikeyFlowRegistry() {
final FlowDefinitionRegistryBuilder builder = new FlowDefinitionRegistryBuilder(this.applicationContext, this.flowBuilderServices);
builder.setBasePath("classpath*:/webflow");
builder.addFlowLocationPattern("/mfa-yubikey/*-webflow.xml");
return builder.build();
}
use of org.springframework.webflow.config.FlowDefinitionRegistryBuilder in project cas by apereo.
the class AuthyConfiguration method authyAuthenticatorFlowRegistry.
@Bean
public FlowDefinitionRegistry authyAuthenticatorFlowRegistry() {
final FlowDefinitionRegistryBuilder builder = new FlowDefinitionRegistryBuilder(this.applicationContext, this.flowBuilderServices);
builder.setBasePath("classpath*:/webflow");
builder.addFlowLocationPattern("/mfa-authy/*-webflow.xml");
return builder.build();
}
use of org.springframework.webflow.config.FlowDefinitionRegistryBuilder in project cas by apereo.
the class AzureAuthenticatorConfiguration method azureAuthenticatorFlowRegistry.
@Bean
public FlowDefinitionRegistry azureAuthenticatorFlowRegistry() {
final FlowDefinitionRegistryBuilder builder = new FlowDefinitionRegistryBuilder(this.applicationContext, this.flowBuilderServices);
builder.setBasePath("classpath*:/webflow");
builder.addFlowLocationPattern("/mfa-azure/*-webflow.xml");
return builder.build();
}
use of org.springframework.webflow.config.FlowDefinitionRegistryBuilder in project cas by apereo.
the class GoogleAuthenticatorConfiguration method googleAuthenticatorFlowRegistry.
@Bean
public FlowDefinitionRegistry googleAuthenticatorFlowRegistry() {
final FlowDefinitionRegistryBuilder builder = new FlowDefinitionRegistryBuilder(this.applicationContext, this.flowBuilderServices);
builder.setBasePath("classpath*:/webflow");
builder.addFlowLocationPattern("/mfa-gauth/*-webflow.xml");
return builder.build();
}
Aggregations