Package org.camunda.bpm.engine.rest
Interface AuthorizationRestService
- All Known Implementing Classes:
AuthorizationRestServiceImpl
@Produces("application/json")
public interface AuthorizationRestService
- Author:
- Daniel Meyer
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionavailableOperations
(jakarta.ws.rs.core.UriInfo context) createAuthorization
(jakarta.ws.rs.core.UriInfo context, AuthorizationCreateDto dto) getAuthorizationCount
(jakarta.ws.rs.core.UriInfo uriInfo) isUserAuthorized
(String permissionName, String resourceName, Integer resourceType, String resourceId, String userId) queryAuthorizations
(jakarta.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
-
Field Details
-
PATH
- See Also:
-
-
Method Details
-
isUserAuthorized
@GET @Path("/check") @Produces("application/json") AuthorizationCheckResultDto isUserAuthorized(@QueryParam("permissionName") String permissionName, @QueryParam("resourceName") String resourceName, @QueryParam("resourceType") Integer resourceType, @QueryParam("resourceId") String resourceId, @QueryParam("userId") String userId) -
getAuthorization
-
queryAuthorizations
@GET @Produces("application/json") List<AuthorizationDto> queryAuthorizations(@Context jakarta.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") Integer maxResults) -
getAuthorizationCount
@GET @Path("/count") @Produces("application/json") CountResultDto getAuthorizationCount(@Context jakarta.ws.rs.core.UriInfo uriInfo) -
createAuthorization
@POST @Path("/create") @Consumes("application/json") @Produces("application/json") AuthorizationDto createAuthorization(@Context jakarta.ws.rs.core.UriInfo context, AuthorizationCreateDto dto) -
availableOperations
@OPTIONS @Produces("application/json") ResourceOptionsDto availableOperations(@Context jakarta.ws.rs.core.UriInfo context)
-