Class AbstractGetAclServlet
- 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.AbstractGetAclServlet
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
- Direct Known Subclasses:
GetAclServlet,GetEffectiveAclServlet
public abstract class AbstractGetAclServlet extends org.apache.sling.api.servlets.SlingAllMethodsServlet- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringKEY_DENIEDprotected static StringKEY_GRANTEDprotected static StringKEY_ORDER
-
Constructor Summary
Constructors Constructor Description AbstractGetAclServlet()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voiddoGet(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response)protected abstract javax.jcr.security.AccessControlEntry[]getAccessControlEntries(javax.jcr.Session session, String absPath)protected javax.json.JsonObjectinternalGetAcl(javax.jcr.Session jcrSession, String resourcePath)-
Methods inherited from class org.apache.sling.api.servlets.SlingAllMethodsServlet
doDelete, doPost, doPut, getAllowedRequestMethods, isMethodValid, mayService
-
Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet
doGeneric, doHead, doOptions, doTrace, getServletInfo, handleMethodNotImplemented, service, service
-
-
-
-
Field Detail
-
KEY_ORDER
protected static final String KEY_ORDER
- See Also:
- Constant Field Values
-
KEY_DENIED
protected static final String KEY_DENIED
- See Also:
- Constant Field Values
-
KEY_GRANTED
protected static final String KEY_GRANTED
- See Also:
- Constant Field Values
-
-
Method Detail
-
doGet
protected void doGet(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response) throws javax.servlet.ServletException, IOException- Overrides:
doGetin classorg.apache.sling.api.servlets.SlingSafeMethodsServlet- Throws:
javax.servlet.ServletExceptionIOException
-
internalGetAcl
protected javax.json.JsonObject internalGetAcl(javax.jcr.Session jcrSession, String resourcePath) throws javax.jcr.RepositoryException- Throws:
javax.jcr.RepositoryException
-
getAccessControlEntries
protected abstract javax.jcr.security.AccessControlEntry[] getAccessControlEntries(javax.jcr.Session session, String absPath) throws javax.jcr.RepositoryException- Throws:
javax.jcr.RepositoryException
-
-