diff options
author | Abyss777 <abyss@fox5.ru> | 2017-07-31 14:08:36 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-07-31 15:17:59 +0500 |
commit | ae76cbf971bfc9e47ef21e87606dacc7c0e3ddc6 (patch) | |
tree | ad0679fac893b5000f1abfaeee9f4433b3596374 /src/org/traccar/model/User.java | |
parent | d3021c9ae11b177fe05b79e98f1e560e8c3cbaf5 (diff) | |
download | trackermap-server-ae76cbf971bfc9e47ef21e87606dacc7c0e3ddc6.tar.gz trackermap-server-ae76cbf971bfc9e47ef21e87606dacc7c0e3ddc6.tar.bz2 trackermap-server-ae76cbf971bfc9e47ef21e87606dacc7c0e3ddc6.zip |
Implement SQL requests construction
Diffstat (limited to 'src/org/traccar/model/User.java')
-rw-r--r-- | src/org/traccar/model/User.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/org/traccar/model/User.java b/src/org/traccar/model/User.java index 6e6a079c2..72b53ee5d 100644 --- a/src/org/traccar/model/User.java +++ b/src/org/traccar/model/User.java @@ -16,6 +16,9 @@ package org.traccar.model; import com.fasterxml.jackson.annotation.JsonIgnore; + +import org.traccar.database.QueryAdditional; +import org.traccar.database.QueryIgnore; import org.traccar.helper.Hashing; import java.util.Date; @@ -228,6 +231,7 @@ public class User extends ExtendedModel { } } + @QueryIgnore public String getPassword() { return null; } @@ -243,6 +247,7 @@ public class User extends ExtendedModel { private String hashedPassword; @JsonIgnore + @QueryAdditional public String getHashedPassword() { return hashedPassword; } @@ -254,6 +259,7 @@ public class User extends ExtendedModel { private String salt; @JsonIgnore + @QueryAdditional public String getSalt() { return salt; } |