Package org.graylog.security.rest
Class GrantsOverviewResource
java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog.security.rest.GrantsOverviewResource
@Path("/authz/grants-overview")
@Consumes("application/json")
@Produces("application/json")
@RequiresAuthentication
public class GrantsOverviewResource
extends RestResource
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.graylog2.shared.rest.resources.RestResource
configuration, userService
-
Constructor Summary
ConstructorDescriptionGrantsOverviewResource
(DBGrantService grantService, GRNDescriptorService descriptorService) -
Method Summary
Methods inherited from class org.graylog2.shared.rest.resources.RestResource
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint
-
Constructor Details
-
GrantsOverviewResource
@Inject public GrantsOverviewResource(DBGrantService grantService, GRNDescriptorService descriptorService)
-
-
Method Details
-
getOverview
@GET @RequiresPermissions("grantsoverview:read") public javax.ws.rs.core.Response getOverview()
-