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:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user