public Mapper createFlowInputMapper(final List<? extends Mapping> mappings) {
        val flowInputMapper = new DefaultMapper();
        mappings
            .stream()
            .map(DefaultMapping.class::cast)
            .map(CasDefaultMapping::new)
            .forEach(flowInputMapper::addMapping);
        return flowInputMapper;
    }
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