Class ContentSecurityFilter

  extended by info.magnolia.cms.filters.AbstractMgnlFilter
      extended by
          extended by
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.

Sameer Charles $Id: 9391 2007-05-11 15:48:02Z scharles $

Constructor Summary
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
doAuthenticate, doFilter, getClientCallback, setClientCallback
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

Constructor Detail


public ContentSecurityFilter()
Method Detail


public boolean isAllowed(javax.servlet.http.HttpServletRequest request,
                         javax.servlet.http.HttpServletResponse response)
                  throws IOException
Specified by:
isAllowed in class BaseSecurityFilter


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-2011 Magnolia International Ltd.. All Rights Reserved.