All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class mit.login.Config

java.lang.Object
   |
   +----mit.login.Config

public class Config
extends Object
 This class contains the configuration parameters needed by the
 login server.
  mit.cert.veriName      - The Kerberos "name" of a service whose
                           key we know (see below) and for which tickets
 			     are obtained to verify that we have the
			     user's proper password
  mit.cert.veriInstance  - The Kerberos Instance for above
  mit.cert.verikeyfile   - The file that contains the above's DES key
  mit.cert.kdc           - The name of the KDC system
  mit.cert.realm	   - The name of the Kerberos realm
 Properties are loaded from mit.login.loginserver.properties.
 


Method Index

 o getProperty(String, String)
Fetches the requested property.

Methods

 o getProperty
 public static String getProperty(String prop,
                                  String def)
Fetches the requested property. Returns its second argument if the requested property isn't found in the configuration file

Parameters:
prop - The name of the property (see list above)
def - The default value to use
Returns:
The properties value

All Packages  Class Hierarchy  This Package  Previous  Next  Index