org.jasig.cas.client.configuration
Class LegacyConfigurationStrategyImpl
java.lang.Object
org.jasig.cas.client.configuration.BaseConfigurationStrategy
org.jasig.cas.client.configuration.LegacyConfigurationStrategyImpl
- All Implemented Interfaces:
- ConfigurationStrategy
public final class LegacyConfigurationStrategyImpl
- extends BaseConfigurationStrategy
Replicates the original behavior by checking the WebXmlConfigurationStrategyImpl first, and then
the JndiConfigurationStrategyImpl before using the defaultValue.
- Since:
- 3.4.0
- Author:
- Scott Battaglia
|
Method Summary |
protected String |
get(ConfigurationKey key)
Retrieve the String value for this key. |
void |
init(javax.servlet.FilterConfig filterConfig,
Class<? extends javax.servlet.Filter> filterClazz)
Initializes the strategy. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LegacyConfigurationStrategyImpl
public LegacyConfigurationStrategyImpl()
init
public void init(javax.servlet.FilterConfig filterConfig,
Class<? extends javax.servlet.Filter> filterClazz)
- Description copied from interface:
ConfigurationStrategy
- Initializes the strategy. This must be called before calling any of the "get" methods.
- Parameters:
filterConfig - the filter configuration object.filterClazz - the filter
get
protected String get(ConfigurationKey key)
- Description copied from class:
BaseConfigurationStrategy
- Retrieve the String value for this key. Returns null if there is no value.
- Specified by:
get in class BaseConfigurationStrategy
- Parameters:
key - the key to retrieve. MUST NOT BE NULL.
- Returns:
- the String if its found, null otherwise.
Copyright © 2006-2015 Jasig. All Rights Reserved.