Package com.composum.sling.nodes.servlet
Class SecurityServlet.GetHtmlAccessRules
- java.lang.Object
-
- com.composum.sling.nodes.servlet.SecurityServlet.GetHtmlAccessRules
-
- All Implemented Interfaces:
ServletOperation
- Enclosing class:
- SecurityServlet
public class SecurityServlet.GetHtmlAccessRules extends Object implements ServletOperation
the access rules retrieval for an HTML table result
-
-
Constructor Summary
Constructors Constructor Description GetHtmlAccessRules()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doIt(@NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull org.apache.sling.api.SlingHttpServletResponse response, @Nullable ResourceHandle resource)
protected void
writePolicies(PrintWriter writer, javax.jcr.security.AccessControlPolicy[] policies, String rowCss)
protected void
writePolicies(PrintWriter writer, javax.jcr.security.AccessControlPolicyIterator policies, String rowCss)
protected void
writePolicy(PrintWriter writer, javax.jcr.security.AccessControlPolicy policy, String rowCss)
protected void
writePrivileges(PrintWriter writer, javax.jcr.security.AccessControlEntry entry)
protected void
writeRestrictions(PrintWriter writer, org.apache.jackrabbit.api.security.JackrabbitAccessControlEntry entry)
-
-
-
Method Detail
-
doIt
public void doIt(@NotNull @NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull @NotNull org.apache.sling.api.SlingHttpServletResponse response, @Nullable @Nullable ResourceHandle resource) throws javax.servlet.ServletException, IOException
- Specified by:
doIt
in interfaceServletOperation
- Throws:
javax.servlet.ServletException
IOException
-
writePolicies
protected void writePolicies(PrintWriter writer, javax.jcr.security.AccessControlPolicy[] policies, String rowCss) throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
-
writePolicies
protected void writePolicies(PrintWriter writer, javax.jcr.security.AccessControlPolicyIterator policies, String rowCss) throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
-
writePolicy
protected void writePolicy(PrintWriter writer, javax.jcr.security.AccessControlPolicy policy, String rowCss) throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
-
writePrivileges
protected void writePrivileges(PrintWriter writer, javax.jcr.security.AccessControlEntry entry)
-
writeRestrictions
protected void writeRestrictions(PrintWriter writer, org.apache.jackrabbit.api.security.JackrabbitAccessControlEntry entry) throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
-
-