lilypad.client.connect.api.request.impl
Class AuthenticateRequest

java.lang.Object
  extended by lilypad.client.connect.api.request.impl.AuthenticateRequest
All Implemented Interfaces:
Request<AuthenticateResult>

public class AuthenticateRequest
extends java.lang.Object
implements Request<AuthenticateResult>

Request to authenticate with the network.


Constructor Summary
AuthenticateRequest(java.lang.String username, java.lang.String password, java.lang.String passwordKey)
           
 
Method Summary
 java.lang.String getPassword()
           
 java.lang.Class<AuthenticateResult> getResult()
           
 java.lang.String getUsername()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticateRequest

public AuthenticateRequest(java.lang.String username,
                           java.lang.String password,
                           java.lang.String passwordKey)
Parameters:
username - to be authenticated with
password - to be authenticated with
passwordKey - salt to hash the password with
Method Detail

getResult

public java.lang.Class<AuthenticateResult> getResult()
Specified by:
getResult in interface Request<AuthenticateResult>
Returns:
accompanying result of the request

getUsername

public java.lang.String getUsername()
Returns:
username to be authenticated with

getPassword

public java.lang.String getPassword()
Returns:
password to be authenticated with