|
QuickServer v1.4.7 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.quickserver.net.server.QuickAuthenticationHandler
org.quickserver.net.qsadmin.Authenticator
Default QSAdminServer ServerAuthenticator.
Username : Admin
Password : QsAdm1n
Constructor Summary | |
Authenticator()
|
Method Summary | |
AuthStatus |
askAuthentication(ClientHandler handler)
Method called first time after gotConnected() method is caled on ClientEventHandler, if Authenticator is set. |
AuthStatus |
handleAuthentication(ClientHandler handler,
java.lang.String command)
Method called when ever a client sends character/string data before authentication. |
protected static boolean |
validate(java.lang.String username,
byte[] password)
This function is used to validate username and password. |
Methods inherited from class org.quickserver.net.server.QuickAuthenticationHandler |
handleAuthentication, handleAuthentication |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Authenticator()
Method Detail |
public AuthStatus askAuthentication(ClientHandler handler) throws java.io.IOException, AppException
ClientAuthenticationHandler
askAuthentication
in interface ClientAuthenticationHandler
askAuthentication
in class QuickAuthenticationHandler
java.io.IOException
AppException
public AuthStatus handleAuthentication(ClientHandler handler, java.lang.String command) throws java.io.IOException, AppException
ClientAuthenticationHandler
handleAuthentication
in interface ClientAuthenticationHandler
handleAuthentication
in class QuickAuthenticationHandler
java.io.IOException
AppException
protected static boolean validate(java.lang.String username, byte[] password)
|
QuickServer v1.4.7 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |