com.ls.lars.security
Class ConnectionController
java.lang.Object
|
+--com.ls.lars.security.ConnectionController
- public class ConnectionController
- extends Object
This component is used by the AgentPlatformSecurity for checking wether or
not a remote client is allowed to connect to the local platform.
- Version:
- $Revision: 1.21 $
- Author:
- Last modified by $Author: MFehrenbach $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createController
public static ConnectionController.AccessControl createController()
- creates an empty AccessControl object & initiates it
- Returns:
- an AccessControler object
checkConnectionRequest
public static boolean checkConnectionRequest(String agentName,
String ipAddress,
String connectionType)
- checks whether an agent having the given name, homePlatform, IP address is allowed to connect
to the local platform
- Parameters:
agentName
- the name of the connecting agentipAddress
- that platform's IP addressconnectionType
- the type of the conection- Returns:
- true, if the connection is allowed