Package marauroa.server.auth
Class DatabaseAuthenticationManager
java.lang.Object
marauroa.server.auth.DatabaseAuthenticationManager
- All Implemented Interfaces:
AuthenticationManager
authenticates against the database (e. g. account or loginseeds tables).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidverify(SecuredLoginInfo info, DelayedEventHandler callback, int clientid, Channel channel, int protocolVersion)Verify that a player is whom he/she says it is.
-
Constructor Details
-
DatabaseAuthenticationManager
public DatabaseAuthenticationManager()
-
-
Method Details
-
verify
public void verify(SecuredLoginInfo info, DelayedEventHandler callback, int clientid, Channel channel, int protocolVersion)Verify that a player is whom he/she says it is.- Specified by:
verifyin interfaceAuthenticationManager- Parameters:
info- SecuredLoginInfocallback- DelayedEventHandlerclientid- optional parameter available to the callbackchannel- optional parameter available to the callbackprotocolVersion- protocolVersion
-