public abstract class AbstractConfigurationFilter extends Object implements javax.servlet.Filter
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
AbstractConfigurationFilter() |
Modifier and Type | Method and Description |
---|---|
protected String |
getPropertyFromInitParams(javax.servlet.FilterConfig filterConfig,
String propertyName,
String defaultValue)
Retrieves the property from the FilterConfig.
|
protected boolean |
isIgnoreInitConfiguration() |
protected String |
loadFromContext(InitialContext context,
String path) |
protected boolean |
parseBoolean(String value) |
void |
setIgnoreInitConfiguration(boolean ignoreInitConfiguration) |
protected final String getPropertyFromInitParams(javax.servlet.FilterConfig filterConfig, String propertyName, String defaultValue)
Finally, it will check JNDI if all other methods fail. All the JNDI properties should be stored under either java:comp/env/cas/SHORTFILTERNAME/{propertyName} or java:comp/env/cas/{propertyName}
Essentially the documented order is:
filterConfig
- the Filter Configuration.propertyName
- the property to retrieve.defaultValue
- the default value if the property is not found.protected final boolean parseBoolean(String value)
protected final String loadFromContext(InitialContext context, String path)
public final void setIgnoreInitConfiguration(boolean ignoreInitConfiguration)
protected final boolean isIgnoreInitConfiguration()
Copyright © 2006–2013 Jasig. All rights reserved.