Class SecureMediaFilter
java.lang.Object
org.springframework.web.filter.GenericFilterBean
de.hybris.platform.servicelayer.web.SecureMediaFilter
- All Implemented Interfaces:
javax.servlet.Filter,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean,org.springframework.context.EnvironmentAware,org.springframework.core.env.EnvironmentCapable,org.springframework.web.context.ServletContextAware
@Deprecated(since="6.3.0",
forRemoval=true)
public class SecureMediaFilter
extends org.springframework.web.filter.GenericFilterBean
Deprecated, for removal: This API element is subject to removal in a future version.
The SecureMediaFilter takes care of checking if access to medias is granted (based on their ACL and secure folder).
-
Field Summary
Fields inherited from class org.springframework.web.filter.GenericFilterBean
logger -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoiddoFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) Deprecated, for removal: This API element is subject to removal in a future version.protected InputStreamgetResourceAsStream(String resourceName) Deprecated, for removal: This API element is subject to removal in a future version.protected StringgetResourcePath(javax.servlet.http.HttpServletRequest httpRequest) Deprecated, for removal: This API element is subject to removal in a future version.protected booleanisAddContentDisposition(javax.servlet.http.HttpServletRequest httpRequest) Deprecated, for removal: This API element is subject to removal in a future version.protected voidlogMediaLookupError(String mediaPKStr, Exception e) Deprecated, for removal: This API element is subject to removal in a future version.voidsetMediaPermissionService(MediaPermissionService mediaPermissionService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetMediaService(MediaService mediaService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetModelService(ModelService modelService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetSecureMediaToken(String secureMediaToken) Deprecated, for removal: This API element is subject to removal in a future version.voidsetUserService(UserService userService) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.springframework.web.filter.GenericFilterBean
addRequiredProperty, afterPropertiesSet, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext
-
Constructor Details
-
SecureMediaFilter
public SecureMediaFilter()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
doFilter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOExceptionjavax.servlet.ServletException
-
logMediaLookupError
Deprecated, for removal: This API element is subject to removal in a future version. -
isAddContentDisposition
protected boolean isAddContentDisposition(javax.servlet.http.HttpServletRequest httpRequest) Deprecated, for removal: This API element is subject to removal in a future version. -
getResourcePath
Deprecated, for removal: This API element is subject to removal in a future version. -
getResourceAsStream
Deprecated, for removal: This API element is subject to removal in a future version. -
setMediaPermissionService
Deprecated, for removal: This API element is subject to removal in a future version. -
setModelService
Deprecated, for removal: This API element is subject to removal in a future version. -
setUserService
Deprecated, for removal: This API element is subject to removal in a future version. -
setMediaService
Deprecated, for removal: This API element is subject to removal in a future version. -
setSecureMediaToken
Deprecated, for removal: This API element is subject to removal in a future version.
-
WebAppMediaFilter