public static boolean containsAuthority(Collection<? extends GrantedAuthority> authorities, String requiredAuth) {
		for (GrantedAuthority grantedAuthority : authorities) {
			if (grantedAuthority.getAuthority().equals(requiredAuth)) {
				return true;
			}
		}
		return false;
	}
Check current user has specific authority.
ngrinder-controller/src/main/java/org/ngrinder/common/util/SpringSecurityUtils.java