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(ServletRequest request,
ServletResponse response,
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(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(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException
Process the specified HTTP request, check authentication, resource existence, access to document workspace and write specific protocol headers to response.
doFilter
in interface Filter
request
- HTTP requestresponse
- HTTP responsechain
- filter chainIOException
ServletException
public void init(FilterConfig filterConfig) throws ServletException
Filter initialization.
init
in interface Filter
filterConfig
- filter configurationServletException
public 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–2017 Alfresco Software. All rights reserved.