com.ls.lars.security
Class ConnectionController.AccessControl

java.lang.Object
  |
  +--com.ls.lars.security.ConnectionController.AccessControl
Enclosing class:
ConnectionController

public class ConnectionController.AccessControl
extends Object

This component is used for configuring the ConnectionController.

Version:
$Revision: 1.21 $
Author:
Last modified by $Author: MFehrenbach $

Method Summary
 void addTrustedAgents(List agentNames, String connectionType)
          adds the given list of agent names to the list of trustedAgents.
 void addTrustedIpAddresses(List ipAddresses, String connectionType)
          adds the given list of IP addresses to the list of trustedIpAddresses.
 void addTrustedPlatforms(List platformNames, String connectionType)
          adds the given list of platform names to the list of trustedPlatforms.
 void addUntrustedAgents(List agentNames, String connectionType)
          adds the given list of agent names to the list of untrustedAgents.
 void addUntrustedIpAddresses(List ipAddresses, String connectionType)
          adds the given list of IP addresses to the list of untrustedIpAddresses.
 void addUntrustedPlatforms(List platformNames, String connectionType)
          adds the given list of platform names to the list of untrustedPlatforms.
 void removeTrustedAgent(String agentName, String connectionType)
          removes the given agent name from the list of trustedAgents.
 void removeTrustedIpAddress(String ipAddress, String connectionType)
          removes the given IP address from the list of trustedIpAddresses.
 void removeTrustedPlatform(String platformName, String connectionType)
          removes the given platform name from the list of trustedPlatforms.
 void removeUntrustedAgent(String agentName, String connectionType)
          removes the given agent name from the list of untrustedAgents.
 void removeUntrustedIpAddress(String ipAddress, String connectionType)
          removes the given IP address from the list of untrustedIpAddresses.
 void removeUntrustedPlatform(String platformName, String connectionType)
          removes the given platform name from the list of untrustedPlatforms.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addTrustedIpAddresses

public void addTrustedIpAddresses(List ipAddresses,
                                  String connectionType)
                           throws NullPointerException
adds the given list of IP addresses to the list of trustedIpAddresses.
Parameters:
ipAddresses - a list of trustworthy IP addresses
connectionType - the type of connection
Throws:
NullPointerException - if the argument is null

addUntrustedIpAddresses

public void addUntrustedIpAddresses(List ipAddresses,
                                    String connectionType)
                             throws NullPointerException
adds the given list of IP addresses to the list of untrustedIpAddresses.
Parameters:
ipAddresses - a list of untrustworthy IP addresses
connectionType - the type of connection
Throws:
NullPointerException - if the argument is null

addTrustedPlatforms

public void addTrustedPlatforms(List platformNames,
                                String connectionType)
                         throws NullPointerException
adds the given list of platform names to the list of trustedPlatforms.
Parameters:
platformNames - a list containing trustworthy platform names
connectionType - the type of connection
Throws:
NullPointerException - if the argument is null

addUntrustedPlatforms

public void addUntrustedPlatforms(List platformNames,
                                  String connectionType)
                           throws NullPointerException
adds the given list of platform names to the list of untrustedPlatforms.
Parameters:
platformNames - a list containing untrustworthy platform names
connectionType - the type of connection
Throws:
NullPointerException - if the argument is null

addTrustedAgents

public void addTrustedAgents(List agentNames,
                             String connectionType)
                      throws NullPointerException
adds the given list of agent names to the list of trustedAgents.
Parameters:
agentNames - a list containing trustworthy agents
connectionType - the type of connection
Throws:
NullPointerException - if the argument is null

addUntrustedAgents

public void addUntrustedAgents(List agentNames,
                               String connectionType)
                        throws NullPointerException
adds the given list of agent names to the list of untrustedAgents.
Parameters:
agentNames - a list containing untrustworthy agents
connectionType - the type of connection
Throws:
NullPointerException - if the argument is null

removeTrustedIpAddress

public void removeTrustedIpAddress(String ipAddress,
                                   String connectionType)
removes the given IP address from the list of trustedIpAddresses.
Parameters:
ipAddress - a trustworthy IP address
connectionType - the type of connection

removeUntrustedIpAddress

public void removeUntrustedIpAddress(String ipAddress,
                                     String connectionType)
removes the given IP address from the list of untrustedIpAddresses.
Parameters:
ipAddress - an untrustworthy IP address
connectionType - the type of connection

removeTrustedPlatform

public void removeTrustedPlatform(String platformName,
                                  String connectionType)
removes the given platform name from the list of trustedPlatforms.
Parameters:
platformName - a trustworthy platform name
connectionType - the type of connection

removeUntrustedPlatform

public void removeUntrustedPlatform(String platformName,
                                    String connectionType)
removes the given platform name from the list of untrustedPlatforms.
Parameters:
platformName - a untrustworthy platform name
connectionType - the type of connection

removeTrustedAgent

public void removeTrustedAgent(String agentName,
                               String connectionType)
removes the given agent name from the list of trustedAgents.
Parameters:
agentName - a trustworthy agent
connectionType - the type of connection

removeUntrustedAgent

public void removeUntrustedAgent(String agentName,
                                 String connectionType)
removes the given agent name from the list of untrustedAgents.
Parameters:
agentName - a untrustworthy agent
connectionType - the type of connection