@Override
    public Mapping createFlowMapping(final String sourceExpression, final String targetExpression,
                                     final boolean required, final Class type) {
        val source = createExpression(sourceExpression);
        val target = createExpression(targetExpression);
        val mapping = new CasDefaultMapping(new DefaultMapping(source, target));
        mapping.setRequired(required);
        if (type != null) {
            val typeConverter = new RuntimeBindingConversionExecutor(type, flowBuilderServices.getConversionService());
            mapping.setTypeConverter(typeConverter);
        }
        return mapping;
    }
Create flow input mapper.

@param mappings the mappings
@return the mapper
core/cas-server-core-webflow-api/src/main/java/org/apereo/cas/web/flow/configurer/AbstractCasWebflowConfigurer.java