Search in sources :

Example 1 with VarModel

use of org.springframework.webflow.engine.model.VarModel in project cas by apereo.

the class DuoMultifactorWebflowConfigurer method createDuoFlowVariables.

private void createDuoFlowVariables(final DynamicFlowModelBuilder modelBuilder) {
    final List<VarModel> vars = new ArrayList<>();
    vars.add(new VarModel(CasWebflowConstants.VAR_ID_CREDENTIAL, DuoCredential.class.getName()));
    modelBuilder.setVars(vars);
}
Also used : ArrayList(java.util.ArrayList) VarModel(org.springframework.webflow.engine.model.VarModel)

Example 2 with VarModel

use of org.springframework.webflow.engine.model.VarModel in project cas by apereo.

the class DuoSecurityMultifactorWebflowConfigurer method createDuoFlowVariables.

private static void createDuoFlowVariables(final DynamicFlowModelBuilder modelBuilder) {
    val vars = new ArrayList<VarModel>(1);
    vars.add(new VarModel(CasWebflowConstants.VAR_ID_CREDENTIAL, DuoSecurityCredential.class.getName()));
    modelBuilder.setVars(vars);
}
Also used : lombok.val(lombok.val) ArrayList(java.util.ArrayList) VarModel(org.springframework.webflow.engine.model.VarModel)

Aggregations

ArrayList (java.util.ArrayList)2 VarModel (org.springframework.webflow.engine.model.VarModel)2 lombok.val (lombok.val)1