org.apache.sling.jcr.jackrabbit.accessmanager.post
Class DeleteAcesServlet
java.lang.Object
javax.servlet.GenericServlet
org.apache.sling.api.servlets.SlingSafeMethodsServlet
org.apache.sling.api.servlets.SlingAllMethodsServlet
org.apache.sling.jcr.jackrabbit.accessmanager.post.AbstractAccessPostServlet
org.apache.sling.jcr.jackrabbit.accessmanager.post.DeleteAcesServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class DeleteAcesServlet
- extends AbstractAccessPostServlet
Sling Post Servlet implementation for deleting the ACE for a set of principals on a JCR
resource.
Rest Service Description
Delete a set of Ace's from a node, the node is identified as a resource by the request
url >resource<.deleteAce.html
Methods
Post Parameters
- :applyTo
- An array of ace principal names to delete. Note the principal name is the primary
key of the Ace in the Acl
Response
- 200
- Success.
- 404
- The resource was not found.
- 500
- Failure. HTML explains the failure.
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteAcesServlet
public DeleteAcesServlet()
handleOperation
protected void handleOperation(SlingHttpServletRequest request,
HtmlResponse htmlResponse,
List<Modification> changes)
throws javax.jcr.RepositoryException
- Description copied from class:
AbstractAccessPostServlet
- Extending Servlet should implement this operation to do the work
- Specified by:
handleOperation
in class AbstractAccessPostServlet
- Parameters:
request
- the sling http request to processhtmlResponse
- the response
- Throws:
javax.jcr.RepositoryException
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.