diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-08-01 16:21:35 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-01 16:21:35 +1200 |
commit | 06df08150504f86cc7e34c1ef90277c87ba55b99 (patch) | |
tree | 92caf0de95aa57185417433851a019529c2348a7 /src/org/traccar/model/User.java | |
parent | bf8a7aac4921d17c086e6d35e44a1bc2e37888b8 (diff) | |
parent | 0c15d55ada982b404c9863a8409bb4e91aa59ace (diff) | |
download | trackermap-server-06df08150504f86cc7e34c1ef90277c87ba55b99.tar.gz trackermap-server-06df08150504f86cc7e34c1ef90277c87ba55b99.tar.bz2 trackermap-server-06df08150504f86cc7e34c1ef90277c87ba55b99.zip |
Merge pull request #3402 from Abyss777/construct_requests
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..b71666f87 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.QueryExtended; +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 + @QueryExtended public String getHashedPassword() { return hashedPassword; } @@ -254,6 +259,7 @@ public class User extends ExtendedModel { private String salt; @JsonIgnore + @QueryExtended public String getSalt() { return salt; } |