Class SecurityServlet.GetHtmlAccessRules

    • Constructor Detail

      • GetHtmlAccessRules

        public GetHtmlAccessRules()
    • 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 interface ServletOperation
        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