@Override
			public void addInterceptors(InterceptorRegistry registry) {
				registry.addInterceptor(new AccessControlInterceptor(allowedOrigin));
				registry.addInterceptor(webContentInterceptor());
			}
Takes care of infrastructure setup for the web/rest layer.

@author Eric Bottard
@author David Turanski
@author Andrew Eisenberg
@author Scott Andrews
@author Gunnar Hillert
@author Gary Russell
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/rest/RestConfiguration.java