Class SecurityServlet

  • All Implemented Interfaces:
    com.composum.sling.core.service.RestrictedService, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class SecurityServlet
    extends com.composum.sling.core.servlet.AbstractServiceServlet
    The service servlet to retrieve all general system settings.
    See Also:
    Serialized Form
    • Constructor Detail

      • SecurityServlet

        public SecurityServlet()
    • Method Detail

      • getOperations

        @NotNull
        protected @NotNull com.composum.sling.core.servlet.ServletOperationSet<SecurityServlet.Extension,​SecurityServlet.Operation> getOperations()
        Specified by:
        getOperations in class com.composum.sling.core.servlet.AbstractServiceServlet
      • init

        public void init()
                  throws javax.servlet.ServletException
        setup of the servlet operation set for this servlet instance
        Overrides:
        init in class javax.servlet.GenericServlet
        Throws:
        javax.servlet.ServletException
      • sameEntry

        protected boolean sameEntry​(org.apache.jackrabbit.api.security.JackrabbitAccessControlEntry jrEntry,
                                    SecurityServlet.AccessPolicyEntry entrySendFromClient)
                             throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • samePrivileges

        protected boolean samePrivileges​(org.apache.jackrabbit.api.security.JackrabbitAccessControlEntry jrEntry,
                                         SecurityServlet.AccessPolicyEntry entrySendFromClient)
      • sameRestrictions

        protected boolean sameRestrictions​(org.apache.jackrabbit.api.security.JackrabbitAccessControlEntry jrEntry,
                                           SecurityServlet.AccessPolicyEntry entrySendFromClient)
                                    throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException