Class AbstractAclServiceRestEndpoint
java.lang.Object
org.opencastproject.authorization.xacml.manager.endpoint.AbstractAclServiceRestEndpoint
- Direct Known Subclasses:
OsgiAclServiceRestEndpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponseapplyAclToEpisode(String episodeId, Long aclId) javax.ws.rs.core.ResponsedeleteAcl(long aclId) getAcl(long aclId) getAcls()protected abstract AclServiceFactoryprotected abstract AssetManagerprotected abstract AuthorizationServiceprotected abstract SecurityService
-
Constructor Details
-
AbstractAclServiceRestEndpoint
public AbstractAclServiceRestEndpoint()
-
-
Method Details
-
getAclServiceFactory
-
getSecurityService
-
getAssetManager
-
getAuthorizationService
-
getAcl
@GET @Path("/acl/{aclId}") @Produces("application/json") public String getAcl(@PathParam("aclId") long aclId) throws NotFoundException - Throws:
NotFoundException
-
extendAcl
-
reduceAcl
-
getAcls
-
createAcl
-
updateAcl
@PUT @Path("/acl/{aclId}") @Produces("application/json") public String updateAcl(@PathParam("aclId") long aclId, @FormParam("name") String name, @FormParam("acl") String accessControlList) throws NotFoundException - Throws:
NotFoundException
-
deleteAcl
@DELETE @Path("/acl/{aclId}") public javax.ws.rs.core.Response deleteAcl(@PathParam("aclId") long aclId) throws NotFoundException - Throws:
NotFoundException
-
applyAclToEpisode
-