HttpContainerContext { public boolean isUnixUser() { SecurityContextHolderAwareRequestWrapper request = cast(RequestContextHolder.currentRequestAttributes() .resolveReference("request")); return !StringUtils.containsIgnoreCase(request.getHeader("User-Agent"), "Win"); }  String getCurrentContextUrlFromUserRequest(); boolean isUnixUser();  }
@Test public void testIsUnixUser() { boolean isUnix = httpContainerContext.isUnixUser(); assertTrue(!isUnix); }