org.edg.security.delegation
Class DelegationConfig

java.lang.Object
  |
  +--org.edg.security.delegation.DelegationConfig

public class DelegationConfig
extends java.lang.Object

An utility class for loading various configuration parameters for the delegation.


Constructor Summary
DelegationConfig(java.lang.String config_file)
          Constructor that initialises the parameters to the default values and next tries to update them with the contents of the configuration file.
 
Method Summary
 java.lang.String get(java.lang.String parameter_name)
          Returns the parameter value.
 java.util.Properties getProperties()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegationConfig

public DelegationConfig(java.lang.String config_file)
                 throws java.io.IOException
Constructor that initialises the parameters to the default values and next tries to update them with the contents of the configuration file.

Parameters:
config_file - the file containing configuration data
Method Detail

get

public java.lang.String get(java.lang.String parameter_name)
Returns the parameter value.

Parameters:
parameter_name - the parameter

getProperties

public java.util.Properties getProperties()