com.threerings.presents.server
Class Rejector.RejectingAuthenticator

java.lang.Object
  extended by com.threerings.presents.server.Authenticator
      extended by com.threerings.presents.server.Rejector.RejectingAuthenticator
Enclosing class:
Rejector

protected class Rejector.RejectingAuthenticator
extends Authenticator

An authenticator implementation that refuses all authentication requests.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.presents.server.Authenticator
Authenticator.AuthException
 
Constructor Summary
protected Rejector.RejectingAuthenticator()
           
 
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

Rejector.RejectingAuthenticator

protected Rejector.RejectingAuthenticator()
Method Detail

processAuthentication

protected void processAuthentication(AuthingConnection conn,
                                     AuthResponse rsp)
                              throws Exception
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:
Exception