gnu.crypto.tool

Class SaslS

Implemented Interfaces:
Runnable

public class SaslS
extends java.lang.Object
implements Runnable

A basic server-side test class to exercise SASL mechanisms that exchange their response/challenge in SASL Buffers. At the time of testing this code, only two such mechanisms are included in the library: SRP and SM2!

The main() method accepts two arguments: the first is the number in milliseconds for the read timeout operation, and the second is the port number on which to listen for incoming connections. Use Ctrl-C to kill it. It should activate a shutdown thread that will orderly close all live worker threads before exiting.

Version:
$Revision: 1.2 $

Field Summary

(package private) static HashMap
pool

Constructor Summary

SaslS(ServerSocket ss)

Method Summary

(package private) void
listen()
static void
main(String[] args)
A simple test server that handles SASL connections.
void
run()

Field Details

pool

(package private) static final HashMap pool

Constructor Details

SaslS

(package private)  SaslS(ServerSocket ss)

Method Details

listen

(package private)  void listen()


main

public static final void main(String[] args)
            throws IOException
A simple test server that handles SASL connections.

Parameters:
args - [0] timeout, in millis, for client connections; [1] port number where to listen for incoming connections.


run

public void run()


Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.