diff options
Diffstat (limited to 'src/org/traccar/api/UserPrincipal.java')
-rw-r--r-- | src/org/traccar/api/UserPrincipal.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/org/traccar/api/UserPrincipal.java b/src/org/traccar/api/UserPrincipal.java index d858b6f47..25fcdb233 100644 --- a/src/org/traccar/api/UserPrincipal.java +++ b/src/org/traccar/api/UserPrincipal.java @@ -19,12 +19,10 @@ import java.security.Principal; public class UserPrincipal implements Principal { - private String name; private long userId; - public UserPrincipal(long userId, String name) { + public UserPrincipal(long userId) { this.userId = userId; - this.name = name; } public Long getUserId() { @@ -33,7 +31,7 @@ public class UserPrincipal implements Principal { @Override public String getName() { - return name; + return null; } } |