public class VtiFilter extends Object implements javax.servlet.Filter
VtiFilter filter is used as security filter for checking authentication, resource existence, access to specific document workspace and writing specific protocol headers to response
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTHENTICATE_HEADER |
static String |
CONTENT_TYPE_HTML |
static String |
CONTENT_TYPE_X_VERMEER_RPC |
static String |
CONTENT_TYPE_XML |
static String |
EMULATED_SHAREPOINT_VERSION |
static String |
METHOD_DELETE |
static String |
METHOD_GET |
static String |
METHOD_HEAD |
static String |
METHOD_LOCK |
static String |
METHOD_OPTIONS |
static String |
METHOD_POST |
static String |
METHOD_PROPFIND |
static String |
METHOD_PUT |
static String |
METHOD_TRACE |
static String |
METHOD_UNLOCK |
| Constructor and Description |
|---|
VtiFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Filter destroy method.
|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
Process the specified HTTP request, check authentication, resource existence, access to document workspace and write specific protocol headers to response.
|
String |
getAlfrescoContext() |
AuthenticationHandler |
getAuthenticationHandler() |
MethodHandler |
getVtiHandler() |
VtiPathHelper |
getVtiPathHelper() |
void |
init(javax.servlet.FilterConfig filterConfig)
Filter initialization.
|
void |
setAuthenticationHandler(AuthenticationHandler authenticationHandler) |
void |
setVtiHandler(MethodHandler vtiHandler) |
void |
setVtiPathHelper(VtiPathHelper vtiPathHelper) |
public static final String METHOD_DELETE
public static final String METHOD_HEAD
public static final String METHOD_GET
public static final String METHOD_OPTIONS
public static final String METHOD_POST
public static final String METHOD_PUT
public static final String METHOD_TRACE
public static final String METHOD_PROPFIND
public static final String METHOD_LOCK
public static final String METHOD_UNLOCK
public static final String AUTHENTICATE_HEADER
public static final String CONTENT_TYPE_XML
public static final String CONTENT_TYPE_HTML
public static final String CONTENT_TYPE_X_VERMEER_RPC
public static final String EMULATED_SHAREPOINT_VERSION
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
Process the specified HTTP request, check authentication, resource existence, access to document workspace and write specific protocol headers to response.
doFilter in interface javax.servlet.Filterrequest - HTTP requestresponse - HTTP responsechain - filter chainIOExceptionjavax.servlet.ServletExceptionpublic void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
Filter initialization.
init in interface javax.servlet.FilterfilterConfig - filter configurationjavax.servlet.ServletExceptionpublic void destroy()
Filter destroy method.
destroy in interface javax.servlet.Filterpublic MethodHandler getVtiHandler()
public void setVtiHandler(MethodHandler vtiHandler)
public VtiPathHelper getVtiPathHelper()
public void setVtiPathHelper(VtiPathHelper vtiPathHelper)
public String getAlfrescoContext()
public void setAuthenticationHandler(AuthenticationHandler authenticationHandler)
public AuthenticationHandler getAuthenticationHandler()
Copyright © 2005–2014 Alfresco Software. All rights reserved.