org.norther.tammi.spray.engine
Class DefaultSecuredFilter

java.lang.Object
  extended by org.norther.tammi.core.base.Adaptee
      extended by org.norther.tammi.spray.filter.DefaultFilter
          extended by org.norther.tammi.spray.engine.DefaultSecuredFilter
All Implemented Interfaces:
Serializable, NotificationBroadcaster, NotificationEmitter, Filter, Manageable, MBeanDelegate, SecuredFilter

public class DefaultSecuredFilter
extends DefaultFilter
implements SecuredFilter

A default implementation of SecuredFilter.

Author:
Ilkka Priha
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.norther.tammi.core.base.Adaptee
ADAPTEE_NOTIF_DESCRIPTION, ADAPTEE_NOTIFICATIONS
 
Fields inherited from interface org.norther.tammi.core.base.MBeanDelegate
ARRAY_TYPE, OBJECT_TYPE, PRIMITIVE_TYPE, STRING_TYPE
 
Constructor Summary
DefaultSecuredFilter()
          Constructs a new filter.
 
Method Summary
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
           
 boolean isInsecureSessionsInvalidated()
          Checks whether insecure sessions are invalidated before switching to secured transmission.
 void setInsecureSessionsInvalidated(boolean flag)
          Sets whether insecure sessions are invalidated before switching to secured transmission.
 
Methods inherited from class org.norther.tammi.spray.filter.DefaultFilter
destroy, getFilterConfig, getRequestMap, getSessionMap, init
 
Methods inherited from class org.norther.tammi.core.base.Adaptee
addAdaptee, addNotificationListener, getAttributeSupport, getBroker, getCanonicalName, getDomain, getFactory, getLoader, getLog, getLog, getMBean, getMBeanServer, getNotificationInfo, getObjectName, getRegistrationTime, getSequenceNumber, hasListeners, isRegistered, postmanaged, premanaged, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, unmanaged, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.Filter
destroy, init
 

Constructor Detail

DefaultSecuredFilter

public DefaultSecuredFilter()
Constructs a new filter.

Method Detail

isInsecureSessionsInvalidated

public boolean isInsecureSessionsInvalidated()
Description copied from interface: SecuredFilter
Checks whether insecure sessions are invalidated before switching to secured transmission.

Specified by:
isInsecureSessionsInvalidated in interface SecuredFilter
Returns:
true if insecure sessions are invalidated, false otherwise.

setInsecureSessionsInvalidated

public void setInsecureSessionsInvalidated(boolean flag)
Description copied from interface: SecuredFilter
Sets whether insecure sessions are invalidated before switching to secured transmission.

Specified by:
setInsecureSessionsInvalidated in interface SecuredFilter
Parameters:
flag - true is insecure sessions are invalidated, false otherwise.

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain chain)
              throws ServletException,
                     IOException
Specified by:
doFilter in interface Filter
Overrides:
doFilter in class DefaultFilter
Throws:
ServletException
IOException


Copyright © 2004 The Norther Organization. All rights reserved.