org.jasig.cas.client.configuration
Class SystemPropertiesConfigurationStrategyImpl

java.lang.Object
  extended by org.jasig.cas.client.configuration.BaseConfigurationStrategy
      extended by org.jasig.cas.client.configuration.SystemPropertiesConfigurationStrategyImpl
All Implemented Interfaces:
ConfigurationStrategy

public class SystemPropertiesConfigurationStrategyImpl
extends BaseConfigurationStrategy

Load all configuration from system properties.

Since:
3.4.0
Author:
Jerome Leleu

Field Summary
 
Fields inherited from class org.jasig.cas.client.configuration.BaseConfigurationStrategy
logger
 
Constructor Summary
SystemPropertiesConfigurationStrategyImpl()
           
 
Method Summary
protected  String get(ConfigurationKey configurationKey)
          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 org.jasig.cas.client.configuration.BaseConfigurationStrategy
getBoolean, getClass, getInt, getLong, getString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemPropertiesConfigurationStrategyImpl

public SystemPropertiesConfigurationStrategyImpl()
Method Detail

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 configurationKey)
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:
configurationKey - the key to retrieve. MUST NOT BE NULL.
Returns:
the String if its found, null otherwise.


Copyright © 2006-2015 Jasig. All Rights Reserved.