aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/api/resource/UserResource.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-12-02 13:35:15 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-12-02 13:35:15 +1300
commitdc99e22966e542e6399df429c1e7611bc9c3bd52 (patch)
tree419630187f555348f1e469014d36c9e1e6ff5590 /src/org/traccar/api/resource/UserResource.java
parent2d934d61544b1fbe3e8ec733988f90a358809956 (diff)
downloadtrackermap-server-dc99e22966e542e6399df429c1e7611bc9c3bd52.tar.gz
trackermap-server-dc99e22966e542e6399df429c1e7611bc9c3bd52.tar.bz2
trackermap-server-dc99e22966e542e6399df429c1e7611bc9c3bd52.zip
Implement server config update API
Diffstat (limited to 'src/org/traccar/api/resource/UserResource.java')
-rw-r--r--src/org/traccar/api/resource/UserResource.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/org/traccar/api/resource/UserResource.java b/src/org/traccar/api/resource/UserResource.java
index 43bef891f..ac81ba865 100644
--- a/src/org/traccar/api/resource/UserResource.java
+++ b/src/org/traccar/api/resource/UserResource.java
@@ -17,6 +17,7 @@ package org.traccar.api.resource;
import java.sql.SQLException;
import java.util.Collection;
+import javax.annotation.security.PermitAll;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
@@ -47,6 +48,7 @@ public class UserResource extends BaseResource {
}
}
+ @PermitAll
@POST
public Response add(User entity) {
try {