Package org.graylog.security.rest
Class RestResourceWithOwnerCheck
java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog.security.rest.RestResourceWithOwnerCheck
- All Implemented Interfaces:
PluginRestResource
- Direct Known Subclasses:
EntitySharesResource
-
Field Summary
Fields inherited from class org.graylog2.shared.rest.resources.RestResource
configuration, userService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckOwnership(GRN entity) protected booleanprotected booleanisPermitted(String type, GRN target) Methods inherited from class org.graylog2.shared.rest.resources.RestResource
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint
-
Constructor Details
-
RestResourceWithOwnerCheck
public RestResourceWithOwnerCheck()
-
-
Method Details
-
checkOwnership
-
isOwner
-
isPermitted
-