com.threerings.presents.server
Class DummyAuthenticator

java.lang.Object
  extended by com.threerings.presents.server.Authenticator
      extended by com.threerings.presents.server.DummyAuthenticator

public class DummyAuthenticator
extends Authenticator

A simple authenticator implementation that simply accepts all authentication requests.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.presents.server.Authenticator
Authenticator.AuthException
 
Constructor Summary
DummyAuthenticator()
           
 
Method Summary
protected  void processAuthentication(AuthingConnection conn, AuthResponse rsp)
          Process the authentication for the specified connection.
 
Methods inherited from class com.threerings.presents.server.Authenticator
authenticateConnection, createResponseData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyAuthenticator

public DummyAuthenticator()
Method Detail

processAuthentication

protected void processAuthentication(AuthingConnection conn,
                                     AuthResponse rsp)
                              throws PersistenceException
Description copied from class: Authenticator
Process the authentication for the specified connection. The method may return after it has stuffed a valid response code in rsp.getData().code.

Specified by:
processAuthentication in class Authenticator
Parameters:
conn - The client connection.
rsp - The response to the client, which will already contain an AuthResponseData created by Authenticator.createResponseData().
Throws:
PersistenceException