games.strategy.net
Interface IConnectionLogin

All Known Implementing Classes:
ClientLogin

public interface IConnectionLogin

An IConnectionLogin responds to login challenges.

An IConnectionLogin is generally paired with an ILoginValidator. The validator will send a challenge string, to which the IConnectionLogin will respond with a key/value map of credentials. The validator will then allow the login, or return an error message.

Author:
sgb

Method Summary
 java.util.Map<java.lang.String,java.lang.String> getProperties(java.util.Map<java.lang.String,java.lang.String> challengProperties)
          Get the properties to log in given the challenge Properties
 void notifyFailedLogin(java.lang.String message)
          A notification that the login failed.
 

Method Detail

getProperties

java.util.Map<java.lang.String,java.lang.String> getProperties(java.util.Map<java.lang.String,java.lang.String> challengProperties)
Get the properties to log in given the challenge Properties


notifyFailedLogin

void notifyFailedLogin(java.lang.String message)
A notification that the login failed. The error message supplied should be shown to the user.