com.filenet.wcm.apps.server.servlet

Class SecurityServlet

  1. java.lang.Object
  2. extended byjavax.servlet.GenericServlet
  3. extended byjavax.servlet.http.HttpServlet
  4. extended bycom.filenet.wcm.apps.server.servlet.SecurityServlet
All implemented interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

  1. public class SecurityServlet
  2. extends javax.servlet.http.HttpServlet
See Also:
Serialized Form

Constructor Summary

Constructor and Description
SecurityServlet()

Method Summary

Modifier and Type Method and Description
  1. void
doGet(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
Processes the HTTP Get request and reads the security setting for an annotation.
  1. void
doPost(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
  1. static
  2. com.filenet.wcm.api.Permission
getCurrentUserAnnotationPermission(java.lang.String user,com.filenet.wcm.api.Document doc)
  1. static
  2. 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

  1. public SecurityServlet()

Method Detail

doGet

  1. public void doGet(javax.servlet.http.HttpServletRequest request,
  2. javax.servlet.http.HttpServletResponse response)
  3. throws javax.servlet.ServletException
  4. java.io.IOException
Processes the HTTP Get request and reads the security setting for an annotation.
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

doPost

  1. public void doPost(javax.servlet.http.HttpServletRequest request,
  2. javax.servlet.http.HttpServletResponse response)
  3. throws javax.servlet.ServletException
  4. java.io.IOException
Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

getDefaultAnnotationPermissions

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

getCurrentUserAnnotationPermission

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