org.apache.sling.jcr.jackrabbit.accessmanager.post
Class DeleteAcesServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by org.apache.sling.api.servlets.SlingSafeMethodsServlet
          extended by org.apache.sling.api.servlets.SlingAllMethodsServlet
              extended by org.apache.sling.jcr.jackrabbit.accessmanager.post.AbstractAccessPostServlet
                  extended by 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

Constructor Summary
DeleteAcesServlet()
           
 
Method Summary
protected  void handleOperation(SlingHttpServletRequest request, HtmlResponse htmlResponse, List<Modification> changes)
          Extending Servlet should implement this operation to do the work
 
Methods inherited from class org.apache.sling.jcr.jackrabbit.accessmanager.post.AbstractAccessPostServlet
createHtmlResponse, doPost, externalizePath, getAccessControlList, getItemPath, getRedirectUrl, isSetStatus
 
Methods inherited from class org.apache.sling.api.servlets.SlingAllMethodsServlet
doDelete, doPut, getAllowedRequestMethods, isMethodValid, mayService
 
Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet
doGeneric, doGet, doHead, doOptions, doTrace, getServletInfo, handleMethodNotImplemented, service, service
 
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
 

Constructor Detail

DeleteAcesServlet

public DeleteAcesServlet()
Method Detail

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 process
htmlResponse - the response
Throws:
javax.jcr.RepositoryException


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.