This doesn't work. You have to use `String.equals()` in Java to compare strings. This does pointer comparison and the string from `principal.getName()` and the string from `queuePos.getAccount().getName()` will 100% certainly not be the same string object.