private boolean hasValue(String s) {
		return ((s != null) && !s.isEmpty());
	}
An interceptor to handle basic CORS logic.

@author Eric Bottard
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/rest/AccessControlInterceptor.java