com.filenet.wcm.apps.server.servlet
Class SecurityServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bycom.filenet.wcm.apps.server.servlet.SecurityServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class SecurityServlet
extends javax.servlet.http.HttpServlet

See Also:
Serialized Form

Constructor Summary
SecurityServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Process the HTTP Get request.
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
static com.filenet.wcm.api.Permission getCurrentUserAnnotationPermission(java.lang.String user, com.filenet.wcm.api.Document doc)
           
static com.filenet.wcm.api.Permissions getDefaultAnnotationPermissions(java.lang.String user, com.filenet.wcm.api.Document doc)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, 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

SecurityServlet

public SecurityServlet()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws javax.servlet.ServletException,
                  java.io.IOException
Process the HTTP Get request. Read an annotation's security

Throws:
javax.servlet.ServletException
java.io.IOException

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws javax.servlet.ServletException,
                   java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

getDefaultAnnotationPermissions

public static com.filenet.wcm.api.Permissions getDefaultAnnotationPermissions(java.lang.String user,
                                                                              com.filenet.wcm.api.Document doc)

getCurrentUserAnnotationPermission

public static com.filenet.wcm.api.Permission getCurrentUserAnnotationPermission(java.lang.String user,
                                                                                com.filenet.wcm.api.Document doc)


© Copyright IBM Corp. 2002, 2007. All Rights Reserved.