So I've noticed that the "system" (ex: User.unknown()) accounts get passed through the resolver as well.
Right now I've added a chunk of code that ignores the system accounts using raw strings.
if ("system".equals(id) || "unknown".equals(id) || "anonymous".equals(id) || "authenticated".equals(id)) {
return idOrFullName; // skip all known system accounts
}
I have done a very very quick search and haven't found any constants or anything else that would make that code better. Since this code is internal its really not a big deal, but I'm curious if anything exists.
Gavin