com.filenet.wcm.apps.server.servlet
Class SecurityServlet
- java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.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:
Constructor Summary
| Constructor and Description |
|---|
SecurityServlet()
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
doGet(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
Processes the HTTP Get request and
reads the security setting for an annotation.
|
|
doPost(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
|
|
getCurrentUserAnnotationPermission(java.lang.String user,com.filenet.wcm.api.Document doc)
|
|
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
Processes the HTTP Get request and
reads the security setting for an annotation.
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletExceptionjava.io.IOExceptiondoPost
- public void doPost(javax.servlet.http.HttpServletRequest request,
- javax.servlet.http.HttpServletResponse response)
- throws javax.servlet.ServletException
- java.io.IOException
Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletExceptionjava.io.IOExceptiongetDefaultAnnotationPermissions
- 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)