|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
org.apache.sling.api.servlets.SlingSafeMethodsServlet
org.apache.sling.api.servlets.SlingAllMethodsServlet
org.apache.sling.jcr.jackrabbit.accessmanager.post.AbstractGetAclServlet
org.apache.sling.jcr.jackrabbit.accessmanager.post.GetEffectiveAclServlet
public class GetEffectiveAclServlet
Sling GET servlet implementation for dumping the declared ACL of a resource to JSON.
Mapped to the default resourceType. Gets and Acl for a resource. Get of the form >resource<.acl.json Provided the user has access to the ACL, they get a chunk of JSON of the form.
{
"principalNameA":
{ "granted" : [
"permission1",
"permission2",
"permission3",
"permission4" ],
"denied" : [
"permission5",
"permission6",
"permission7",
"permission8"]
},
"principalNameB":
{ "granted" : [
"permission1",
"permission2",
"permission3",
"permission4" ],
"denied" : [
"permission5",
"permission6",
"permission7",
"permission8"] },
"principalNameC":
{ "granted" : [
"permission1",
"permission2",
"permission3",
"permission4" ],
"denied" : [
"permission5",
"permission6",
"permission7",
"permission8"] }
}
| Constructor Summary | |
|---|---|
GetEffectiveAclServlet()
|
|
| Method Summary | |
|---|---|
protected javax.jcr.security.AccessControlEntry[] |
getAccessControlEntries(javax.jcr.Session session,
String absPath)
|
| Methods inherited from class org.apache.sling.jcr.jackrabbit.accessmanager.post.AbstractGetAclServlet |
|---|
doGet |
| 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 |
| 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 |
|---|
public GetEffectiveAclServlet()
| Method Detail |
|---|
protected javax.jcr.security.AccessControlEntry[] getAccessControlEntries(javax.jcr.Session session,
String absPath)
throws javax.jcr.RepositoryException
getAccessControlEntries in class AbstractGetAclServletjavax.jcr.RepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||