Make the comments and logging consistent with what we're doing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3132 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: Rejector.java,v 1.1 2004/10/13 01:02:19 mdb Exp $
|
// $Id: Rejector.java,v 1.2 2004/10/13 01:09:14 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.presents.server;
|
package com.threerings.presents.server;
|
||||||
|
|
||||||
@@ -54,12 +54,10 @@ public class Rejector extends PresentsServer
|
|||||||
*/
|
*/
|
||||||
protected class RejectingAuthenticator extends Authenticator
|
protected class RejectingAuthenticator extends Authenticator
|
||||||
{
|
{
|
||||||
/**
|
/** Reject all authentication requests. */
|
||||||
* Accept all authentication requests.
|
|
||||||
*/
|
|
||||||
public void authenticateConnection (AuthingConnection conn)
|
public void authenticateConnection (AuthingConnection conn)
|
||||||
{
|
{
|
||||||
Log.info("Accepting request: " + conn.getAuthRequest());
|
Log.info("Rejecting request: " + conn.getAuthRequest());
|
||||||
AuthResponseData rdata = new AuthResponseData();
|
AuthResponseData rdata = new AuthResponseData();
|
||||||
rdata.code = _errmsg;
|
rdata.code = _errmsg;
|
||||||
connectionWasAuthenticated(conn, new AuthResponse(rdata));
|
connectionWasAuthenticated(conn, new AuthResponse(rdata));
|
||||||
|
|||||||
Reference in New Issue
Block a user