Java Doc for Authenticator.java in » Net » QuickServer » org » quickserver » net » server » Java Source Code / Java DocumentationJava Source Code and Java Documentation
This interface defines a class that can be used by
QuickServer to authenticate a client when new connection is
made to QuickServer. Should have a default constructor.
author: Akshathkumar ShettyClientAuthenticationHandler
Method Summary
public boolean
askAuthorisation(ClientHandler clientHandler) This method is called by
QuickServer
if Authenticator was set, to authenticate any client
connection.
result of authentication. exception: org.quickserver.net.AppException - if ServerAuthenticator wants QuickServer to close the client connection.
This method is called by
QuickServer
if Authenticator was set, to authenticate any client
connection.
result of authentication. exception: org.quickserver.net.AppException - if ServerAuthenticator wants QuickServer to close the client connection. Can be used for exiting on Timeouts Can be used when Quit commands is received when Authenticating. exception: java.io.IOException - if there is socket error