Har! More progress mateys.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-05-29 03:27:59 +00:00
parent 6717f8d6e5
commit 33d93d3374
26 changed files with 947 additions and 124 deletions
@@ -0,0 +1,23 @@
//
// $Id: DummyAuthenticator.java,v 1.1 2001/05/29 03:27:59 mdb Exp $
package com.samskivert.cocktail.cher.server;
import com.samskivert.cocktail.cher.Log;
import com.samskivert.cocktail.cher.net.*;
import com.samskivert.cocktail.cher.server.net.Authenticator;
import com.samskivert.cocktail.cher.util.Codes;
public class DummyAuthenticator implements Authenticator
{
/**
* We just accept all authentication requests.
*/
public AuthResponse process (AuthRequest req)
{
Log.info("Accepting request: " + req);
AuthResponseData rdata = new AuthResponseData();
rdata.code = Codes.SUCCESS;
return new AuthResponse(rdata);
}
}