spread
Interface SpreadAuthInterface
- All Known Implementing Classes:
- NULLAuth
public interface SpreadAuthInterface
Objects of a class that implements the SpreadAuthInterface interface can
act as the client side of an authentication protocol to complete a Spread connection.
The connect method SpreadConnection.connect(InetAddress, int, String, boolean, boolean)
will call the authenticate()
method during a connection.
If the module wants to deny the connection it should raise a SpreadException.
If it wants to allow the connection it should return normally.
Method Summary |
void |
authenticate()
This method will be called during the establishment of a Spread connection. |
authenticate
void authenticate()
throws SpreadException
- This method will be called during the establishment of a Spread connection.
It should run whatever protocol is necessary to authenticate the connection
and return normally to allow the connection, or raise a SpreadException to deny
the connection.
- Throws:
SpreadException
Copyright © 2004 Spread Concepts LLC. All Rights Reserved.