mngttest
Class TestLocalClient

java.lang.Object
  |
  +--mngttest.TestLocalClient
All Implemented Interfaces:
org.ssonet.net.ConnectionListener

public class TestLocalClient
extends java.lang.Object
implements org.ssonet.net.ConnectionListener

Simpler Test-Client für IDMAN und SSONET. Grundfunktionalität und Minimum-Implementierung.

Version:
$Id: TestLocalClient.java,v 1.21 2004/03/03 08:51:48 tk4 Exp $
Author:
Thomas Kriegelstein

Field Summary
protected  org.ssonet.net.CertificateListener listener
          Referenz auf den DefaultCertificateListener.
protected  idman.mngt.Management manager
          Referenz auf den Manager.
protected static java.lang.String ROLE_NAME
          Anwendungs/Rollenname.
protected  java.util.Properties settings
          Die Einstellungen.
 
Fields inherited from interface org.ssonet.net.ConnectionListener
FINISHED_STATE, INIT_STATE, MECHANISMS_NEGOTIATION, NOT_STARTED_STATE, RUNNING_STATE, SECURITY_GOAL_NEGOTIATION
 
Constructor Summary
TestLocalClient(java.util.Properties settings)
          Konstruktor.
 
Method Summary
 void connectionStateChanged(org.ssonet.net.SSONETContext context, int currentState)
           
 org.ssonet.net.SSONETContext createContext()
          Context für eine einzelne Verbindung erzeugen.
 boolean decideSecurityGoal(int securityGoal, org.ssonet.net.ActionConfiguration ownConfiguration, org.ssonet.net.SSONETContext context)
           
static void main(java.lang.String[] ignore)
          Startet den Test.
 void negotiationRequestReceived(org.ssonet.net.SSONETContext context, int negotiationType)
           
 void waitRunning(org.ssonet.net.SSONETContext context)
           
 void work()
          Arbeitsmethode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

settings

protected java.util.Properties settings
Die Einstellungen.


manager

protected idman.mngt.Management manager
Referenz auf den Manager.


listener

protected org.ssonet.net.CertificateListener listener
Referenz auf den DefaultCertificateListener.


ROLE_NAME

protected static final java.lang.String ROLE_NAME
Anwendungs/Rollenname.

See Also:
Constant Field Values
Constructor Detail

TestLocalClient

public TestLocalClient(java.util.Properties settings)
Konstruktor.

Method Detail

connectionStateChanged

public void connectionStateChanged(org.ssonet.net.SSONETContext context,
                                   int currentState)
Specified by:
connectionStateChanged in interface org.ssonet.net.ConnectionListener

waitRunning

public void waitRunning(org.ssonet.net.SSONETContext context)

createContext

public org.ssonet.net.SSONETContext createContext()
Context für eine einzelne Verbindung erzeugen.


work

public void work()
Arbeitsmethode.


main

public static void main(java.lang.String[] ignore)
                 throws java.lang.Exception
Startet den Test.

java.lang.Exception

negotiationRequestReceived

public void negotiationRequestReceived(org.ssonet.net.SSONETContext context,
                                       int negotiationType)
Specified by:
negotiationRequestReceived in interface org.ssonet.net.ConnectionListener

decideSecurityGoal

public boolean decideSecurityGoal(int securityGoal,
                                  org.ssonet.net.ActionConfiguration ownConfiguration,
                                  org.ssonet.net.SSONETContext context)
Specified by:
decideSecurityGoal in interface org.ssonet.net.ConnectionListener


Copyright © 2003 DRIM Team. All Rights Reserved.