diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-02 10:42:36 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-02 10:42:36 +1300 |
commit | fe599125befa708ec3547b591918effe2ff9beb8 (patch) | |
tree | 11bc8413e54368e3c2713c80c46c2d12a27ae6a4 /src/org/traccar/api/UserPrincipal.java | |
parent | 2d6533ef6ba4fd436c5737f3755dd34a4c08e8e7 (diff) | |
download | trackermap-server-fe599125befa708ec3547b591918effe2ff9beb8.tar.gz trackermap-server-fe599125befa708ec3547b591918effe2ff9beb8.tar.bz2 trackermap-server-fe599125befa708ec3547b591918effe2ff9beb8.zip |
Add session authentication option
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; } } |