info.magnolia.cms.security
Class ContentSecurityFilter
java.lang.Object
info.magnolia.cms.filters.AbstractMgnlFilter
info.magnolia.cms.security.BaseSecurityFilter
info.magnolia.cms.security.ContentSecurityFilter
- All Implemented Interfaces:
- MgnlFilter, javax.servlet.Filter
public class ContentSecurityFilter
- extends BaseSecurityFilter
Used to check if the user can read the requested content. This filter normally resides behind the cache filter.
- Author:
- Sameer Charles
$Id: ContentSecurityFilter.java 9391 2007-05-11 15:48:02Z scharles $
Method Summary |
boolean |
isAllowed(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected boolean |
isAuthorized(AccessManager accessManager)
Deprecated. since 4.3 when overriding this method, override isAllowed() instead |
Methods inherited from class info.magnolia.cms.filters.AbstractMgnlFilter |
acceptsEncoding, acceptsGzipEncoding, addAndVerifyHeader, addBypass, addMapping, bypasses, destroy, doFilter, getBypasses, getDispatching, getMapping, getMappings, getName, headerContains, init, isEnabled, mapsTo, matches, matchesDispatching, setDispatching, setEnabled, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentSecurityFilter
public ContentSecurityFilter()
isAllowed
public boolean isAllowed(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
- Specified by:
isAllowed
in class BaseSecurityFilter
- Throws:
IOException
isAuthorized
@Deprecated
protected boolean isAuthorized(AccessManager accessManager)
- Deprecated. since 4.3 when overriding this method, override isAllowed() instead
- Check for read permissions of the aggregated handle.
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.