* Check the user has unix user agent.
*
* @return true if unix.
*/
public boolean isUnixUser() {
SecurityContextHolderAwareRequestWrapper request = cast(RequestContextHolder.currentRequestAttributes()
.resolveReference("request"));
return !StringUtils.containsIgnoreCase(request.getHeader("User-Agent"), "Win");
}