Class DatabaseAuthenticationManager

java.lang.Object
marauroa.server.auth.DatabaseAuthenticationManager
All Implemented Interfaces:
AuthenticationManager

public class DatabaseAuthenticationManager extends Object implements AuthenticationManager
authenticates against the database (e. g. account or loginseeds tables).
  • 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:
      verify in interface AuthenticationManager
      Parameters:
      info - SecuredLoginInfo
      callback - DelayedEventHandler
      clientid - optional parameter available to the callback
      channel - optional parameter available to the callback
      protocolVersion - protocolVersion