iiitAccessServer 1.0

de.iiit.access.server
Class AccessServer

java.lang.Object
  |
  +--de.iiit.access.server.AccessServer

public class AccessServer
extends Object

This is the AccessServer's main class.

Version:
$Revision: 1.12 $ $Date: 2003/04/14 20:05:01 $

Method Summary
static CachePluginIf getCachePlugin()
          Get cache plug-in.
static boolean getIgnoreCase()
          Retrieves whether upper- and lower-case shall be ignored
static ResolverPluginIf getResolverPlugin()
          Get cache plug-in.
static Configuration getSubConfiguration(String name)
          Retrieve a single sub-configuration with a given name.
static Vector getSubConfigurations(String name)
          Get all sub-configurations of the current configuration with a given name
static boolean getVerifyUser()
          Retrieves the "VerifyUser"-flag.
static void main(String[] args)
          This is the main method of AccessServer.
static void setIgnoreCase(boolean flag)
          Sets whether the iiitAccessServer should ignore case or not.
static void setVerifyUser(boolean flag)
          Sets the "VerifyUser"-flag.
static void shutDown()
          Shuts the whole iiitAccessServer down.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getResolverPlugin

public static ResolverPluginIf getResolverPlugin()
Get cache plug-in.

Returns:
Returns a previous loaded cache plug-in or null if none is loaded.

getCachePlugin

public static CachePluginIf getCachePlugin()
Get cache plug-in.

Returns:
Returns a previous loaded cache plug-in or null if none is loaded.

getSubConfiguration

public static Configuration getSubConfiguration(String name)
Retrieve a single sub-configuration with a given name. If there is more than one Block with this name only the first of them is returned.

Parameters:
name - The name of the sub-configuration
Returns:
The sub-configuration or null if there is no one with the given name.

getSubConfigurations

public static Vector getSubConfigurations(String name)
Get all sub-configurations of the current configuration with a given name

Parameters:
name - The name of the sub-configuration to retrieve
Returns:
A Vector with the retrieved Configuration Object or null if there is no sub-configuration with the given name.

shutDown

public static void shutDown()
Shuts the whole iiitAccessServer down.


setIgnoreCase

public static void setIgnoreCase(boolean flag)
Sets whether the iiitAccessServer should ignore case or not.

Parameters:
flag - true forces ignoration of upper- and lower-case.

getIgnoreCase

public static boolean getIgnoreCase()
Retrieves whether upper- and lower-case shall be ignored

Returns:
true if upper- and lower-case shall be ignored, false if not.

setVerifyUser

public static void setVerifyUser(boolean flag)
Sets the "VerifyUser"-flag. If the flag is set to true, user names will be verified against the user databases. If it is set to false, user names will not be verified at all.

Parameters:
flag - the flag as described above.

getVerifyUser

public static boolean getVerifyUser()
Retrieves the "VerifyUser"-flag.

Returns:
true if user names will be verified, false if not.
See Also:
setVerifyUser(boolean)

main

public static void main(String[] args)
This is the main method of AccessServer. It reads the configuration, loads all configured plug-ins, initializes all sub-systems and starts the background threads.

Parameters:
args - the command line arguments

iiitAccessServer 1.0

Copyright © 2002, 2003 ingeneurbuero fuer innovative informationstechnik, Dipl.-Ing. Joerg Beckmann, Dortmund, Germany. All Rights Reserved.
See Copyright statement