com.limegroup.gnutella.security
Class DummyAuthenticator

java.lang.Object
  extended bycom.limegroup.gnutella.security.DummyAuthenticator
All Implemented Interfaces:
Authenticator

public class DummyAuthenticator
extends java.lang.Object
implements Authenticator

A dummy authenticator. Does nothing


Constructor Summary
DummyAuthenticator()
           
 
Method Summary
 java.util.Set authenticate(java.lang.String username, java.lang.String passwd, java.lang.String domain)
          Always return a set with default domain
 
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

authenticate

public java.util.Set authenticate(java.lang.String username,
                                  java.lang.String passwd,
                                  java.lang.String domain)
Always return a set with default domain

Specified by:
authenticate in interface Authenticator
Parameters:
username - the "user" to be authenticated.
domain - The domain for which to authenticate user
Returns:
the set (of Strings) consisting of just the default domain