com.anwrt.anycontent.authentication.filter
Class CMSFilter

java.lang.Object
  extended bycom.anwrt.anycontent.authentication.filter.CMSFilter

public class CMSFilter
extends java.lang.Object

This class is a generic filter between Tomcat and Cocoon. It will be used during authentification with CAS e.g.


Constructor Summary
CMSFilter(Filter filter)
          Constructor
 
Method Summary
 void doFilter(java.util.Map objectModel, Redirector redirect)
          Applies the filter
 void init(java.util.Map map, java.util.Map objectModel)
          Enables to init deploy parameters using a FilterConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMSFilter

public CMSFilter(Filter filter)
Constructor

Parameters:
filter - A filter to apply
Method Detail

init

public void init(java.util.Map map,
                 java.util.Map objectModel)
          throws ServletException
Enables to init deploy parameters using a FilterConfig

Parameters:
map - A map containing all filter parameters
objectModel - The object model of Cocoon
Throws:
ServletException

doFilter

public void doFilter(java.util.Map objectModel,
                     Redirector redirect)
              throws ServletException,
                     java.io.IOException
Applies the filter

Parameters:
objectModel - The object model of Cocoon
redirect - The object Redirector of Cocoon
Throws:
ServletException
java.io.IOException


Copyright © 2006 Anyware Technologies. All Rights Reserved.