aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-09 20:34:11 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-09 20:34:11 +1300
commit1750a8b5353a69f3b1805757f3b31150260d45f8 (patch)
treeaece720d11cf97f3eb199b5715fddc2ce7dbe8c8 /src/org
parentb4b075facd4bf11bc7564b75a60891325749e42e (diff)
downloadtrackermap-server-1750a8b5353a69f3b1805757f3b31150260d45f8.tar.gz
trackermap-server-1750a8b5353a69f3b1805757f3b31150260d45f8.tar.bz2
trackermap-server-1750a8b5353a69f3b1805757f3b31150260d45f8.zip
Add groups list window component
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/web/WebServer.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/org/traccar/web/WebServer.java b/src/org/traccar/web/WebServer.java
index ed006f8cb..4e764d5d6 100644
--- a/src/org/traccar/web/WebServer.java
+++ b/src/org/traccar/web/WebServer.java
@@ -43,6 +43,8 @@ import org.traccar.api.SecurityRequestFilter;
import org.traccar.api.resource.CommandResource;
import org.traccar.api.resource.DeviceResource;
import org.traccar.api.resource.DevicePermissionResource;
+import org.traccar.api.resource.GroupPermissionResource;
+import org.traccar.api.resource.GroupResource;
import org.traccar.api.resource.PositionResource;
import org.traccar.api.resource.ServerResource;
import org.traccar.api.resource.SessionResource;
@@ -140,7 +142,8 @@ public class WebServer {
resourceConfig.register(SecurityRequestFilter.class);
resourceConfig.register(CorsResponseFilter.class);
resourceConfig.registerClasses(ServerResource.class, SessionResource.class, CommandResource.class,
- DevicePermissionResource.class, DeviceResource.class, UserResource.class, PositionResource.class);
+ GroupPermissionResource.class, DevicePermissionResource.class, UserResource.class,
+ GroupResource.class, DeviceResource.class, PositionResource.class);
servletHandler.addServlet(new ServletHolder(new ServletContainer(resourceConfig)), "/*");
handlers.addHandler(servletHandler);