Browse code

Fix another path to fix a symptom

Thomas Fricker authored on 22/06/2017 12:12:50
Showing 1 changed files
... ...
@@ -131,7 +131,7 @@ public class SecurityContext {
131 131
 	}
132 132
 
133 133
 	public boolean isAnonymous() {
134
-		return this.equals(ANONYMOUS);
134
+		return this.subject.equals(ANONYMOUS.subject) && this.domainUid == null;
135 135
 	}
136 136
 
137 137
 	public List<String> getRemoteAddresses() {