use of org.springframework.binding.mapping.impl.DefaultMapper in project cas by apereo.
the class AbstractCasWebflowConfigurer method createMapperToSubflowState.
/**
* Create mapper to subflow state.
*
* @param mappings the mappings
* @return the mapper
*/
public Mapper createMapperToSubflowState(final List<DefaultMapping> mappings) {
val inputMapper = new DefaultMapper();
mappings.forEach(inputMapper::addMapping);
return inputMapper;
}
use of org.springframework.binding.mapping.impl.DefaultMapper in project cas by apereo.
the class AbstractCasWebflowConfigurer method createMapperToSubflowState.
/**
* Create mapper to subflow state.
*
* @param mappings the mappings
* @return the mapper
*/
protected Mapper createMapperToSubflowState(final List<DefaultMapping> mappings) {
final DefaultMapper inputMapper = new DefaultMapper();
mappings.forEach(inputMapper::addMapping);
return inputMapper;
}
Aggregations