diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-09 20:34:11 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-09 20:34:11 +1300 |
commit | 1750a8b5353a69f3b1805757f3b31150260d45f8 (patch) | |
tree | aece720d11cf97f3eb199b5715fddc2ce7dbe8c8 /src/org/traccar | |
parent | b4b075facd4bf11bc7564b75a60891325749e42e (diff) | |
download | traccar-server-1750a8b5353a69f3b1805757f3b31150260d45f8.tar.gz traccar-server-1750a8b5353a69f3b1805757f3b31150260d45f8.tar.bz2 traccar-server-1750a8b5353a69f3b1805757f3b31150260d45f8.zip |
Add groups list window component
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/web/WebServer.java | 5 |
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); |