|
For the latest news and information visit The GNU Crypto project |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object extended bygnu.crypto.tool.SaslS
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.
| Field Summary | |
(package private) static java.util.HashMap |
pool
|
| Constructor Summary | |
(package private) |
SaslS(java.net.ServerSocket ss)
|
| Method Summary | |
(package private) void |
listen()
|
static void |
main(java.lang.String[] args)
A simple test server that handles SASL connections. |
void |
run()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
static final java.util.HashMap pool
| Constructor Detail |
SaslS(java.net.ServerSocket ss)
| Method Detail |
public static final void main(java.lang.String[] args) throws java.io.IOException
args - [0] timeout, in millis, for client connections;
[1] port number where to listen for incoming connections.
java.io.IOExceptionpublic void run()
run in interface java.lang.Runnablevoid listen()
|
For the latest news and information visit The GNU Crypto project |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||