public class UsernamePasswordSocketLoginManager extends AbstractSocketLoginManager
Constructor and Description |
---|
UsernamePasswordSocketLoginManager(Account[] accounts,
Map<Account,SocketHandler> socketHandlerMap) |
Modifier and Type | Method and Description |
---|---|
protected Authentication |
getAuthentication(Socket s)
This method is called to receive a new Authentification implementing object for a connection.
|
protected boolean |
handleInvalidAuthentication(Socket s)
This method is called when an agent did not authenticate.
|
protected void |
handleValidAuthentication(Socket s) |
getAccountSocketHandlerMap, handleSocket, setAccountSocketHandlerMap
public UsernamePasswordSocketLoginManager(Account[] accounts, Map<Account,SocketHandler> socketHandlerMap)
protected Authentication getAuthentication(Socket s)
AbstractSocketLoginManager
getAuthentication
in class AbstractSocketLoginManager
protected boolean handleInvalidAuthentication(Socket s)
AbstractSocketLoginManager
handleInvalidAuthentication
in class AbstractSocketLoginManager
s
- socketprotected void handleValidAuthentication(Socket s)
handleValidAuthentication
in class AbstractSocketLoginManager
Copyright © 2013. All Rights Reserved.