aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/api/UserPrincipal.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/api/UserPrincipal.java')
-rw-r--r--src/org/traccar/api/UserPrincipal.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/org/traccar/api/UserPrincipal.java b/src/org/traccar/api/UserPrincipal.java
index 387b7627c..11a6de629 100644
--- a/src/org/traccar/api/UserPrincipal.java
+++ b/src/org/traccar/api/UserPrincipal.java
@@ -31,18 +31,6 @@ public class UserPrincipal implements Principal {
this.roles = roles;
}
- public UserPrincipal(String username, Set<String> roles) {
- this.username = username;
- this.roles = roles;
- }
-
- public UserPrincipal(String username) {
- this.username = username;
- }
-
- public UserPrincipal() {
- }
-
public Long getId() {
return id;
}
@@ -68,7 +56,4 @@ public class UserPrincipal implements Principal {
return roles;
}
- public void setRoles(Set<String> roles) {
- this.roles = roles;
- }
}