org.jasig.cas.client.util
Class AbstractConfigurationFilter

java.lang.Object
  extended by org.jasig.cas.client.util.AbstractConfigurationFilter
All Implemented Interfaces:
javax.servlet.Filter
Direct Known Subclasses:
AbstractCasFilter, HttpServletRequestWrapperFilter, SingleSignOutFilter

public abstract class AbstractConfigurationFilter
extends Object
implements javax.servlet.Filter

Abstracts out the ability to configure the filters from the initial properties provided.

Since:
3.1
Version:
$Revision$ $Date$
Author:
Scott Battaglia

Field Summary
protected  org.slf4j.Logger logger
           
 
Constructor Summary
AbstractConfigurationFilter()
           
 
Method Summary
protected  boolean getBoolean(ConfigurationKey<Boolean> configurationKey)
           
protected
<T> Class<? extends T>
getClass(ConfigurationKey<Class<? extends T>> configurationKey)
           
protected  int getInt(ConfigurationKey<Integer> configurationKey)
           
protected  long getLong(ConfigurationKey<Long> configurationKey)
           
protected  String getString(ConfigurationKey<String> configurationKey)
           
 void init(javax.servlet.FilterConfig filterConfig)
           
protected  boolean isIgnoreInitConfiguration()
           
 void setIgnoreInitConfiguration(boolean ignoreInitConfiguration)
           
 
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, doFilter
 

Field Detail

logger

protected final org.slf4j.Logger logger
Constructor Detail

AbstractConfigurationFilter

public AbstractConfigurationFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig filterConfig)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Filter
Throws:
javax.servlet.ServletException

getBoolean

protected final boolean getBoolean(ConfigurationKey<Boolean> configurationKey)

getString

protected final String getString(ConfigurationKey<String> configurationKey)

getLong

protected final long getLong(ConfigurationKey<Long> configurationKey)

getInt

protected final int getInt(ConfigurationKey<Integer> configurationKey)

getClass

protected final <T> Class<? extends T> getClass(ConfigurationKey<Class<? extends T>> configurationKey)

setIgnoreInitConfiguration

public final void setIgnoreInitConfiguration(boolean ignoreInitConfiguration)

isIgnoreInitConfiguration

protected final boolean isIgnoreInitConfiguration()


Copyright © 2006-2015 Jasig. All Rights Reserved.