Package edu.uiuc.ncsa.security.servlet
Class ServletXMLConfigUtil
- java.lang.Object
-
- edu.uiuc.ncsa.security.util.configuration.XMLConfigUtil
-
- edu.uiuc.ncsa.security.servlet.ServletXMLConfigUtil
-
- All Implemented Interfaces:
TimeConstants
public class ServletXMLConfigUtil extends XMLConfigUtil
Created by Jeff Gaynor
on 5/16/13 at 9:45 AM
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.uiuc.ncsa.security.util.configuration.XMLConfigUtil
XMLConfigUtil.TimeThingy
-
-
Field Summary
-
Fields inherited from interface edu.uiuc.ncsa.security.util.configuration.TimeConstants
ONE_DAY, ONE_HOUR, ONE_MINUTES, ONE_MONTH, ONE_WEEK, ONE_YEAR, SECONDS, UNITS__WEEK, UNITS_DAYS, UNITS_DAYS_LONG, UNITS_HOURS, UNITS_HOURS_LONG, UNITS_MILLISECOND_LONG, UNITS_MILLISECOND_MULTIPLIER, UNITS_MILLISECONDS, UNITS_MINUTES, UNITS_MINUTES_LONG, UNITS_MINUTES_LONG2, UNITS_MONTHS, UNITS_MONTHS_LONG, UNITS_SECONDS, UNITS_SECONDS_LONG, UNITS_SECONDS_LONG2, UNITS_WEEK_LONG, UNITS_YEARS, UNITS_YEARS_LONG
-
-
Constructor Summary
Constructors Constructor Description ServletXMLConfigUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.commons.configuration.tree.ConfigurationNode
findConfigurationNode(javax.servlet.ServletContext servletContext, String configFileKey, String configName, String topNodeTag)
Looks for the configuration in the servlet context using the keys for the init parameters-
Methods inherited from class edu.uiuc.ncsa.security.util.configuration.XMLConfigUtil
createTimeThingy, findConfiguration, findMultiNode, findNamedConfig, getConfigurations2, getMultiplier, getValueSecsOrMillis, getValueSecsOrMillis, main, NEWcreateTimeThingy, splitNumber
-
-
-
-
Method Detail
-
findConfigurationNode
public static org.apache.commons.configuration.tree.ConfigurationNode findConfigurationNode(javax.servlet.ServletContext servletContext, String configFileKey, String configName, String topNodeTag)
Looks for the configuration in the servlet context using the keys for the init parameters- Parameters:
servletContext
-configFileKey
-configName
-topNodeTag
-- Returns:
-
-