com.lyrisoft.chat.server.remote.auth
Class NullAuthenticator

java.lang.Object
  |
  +--com.lyrisoft.chat.server.remote.auth.NullAuthenticator
All Implemented Interfaces:
IAuthenticator

public class NullAuthenticator
extends java.lang.Object
implements IAuthenticator

Authenitcator that authenticates everybody


Fields inherited from interface com.lyrisoft.chat.server.remote.IAuthenticator
GOD, MODERATOR, NONE, SERVER, USER
 
Constructor Summary
NullAuthenticator()
           
 
Method Summary
 Auth authenticate(java.lang.String userId, java.lang.String password)
          Check the authentication of a user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullAuthenticator

public NullAuthenticator()
Method Detail

authenticate

public Auth authenticate(java.lang.String userId,
                         java.lang.String password)
                  throws AccessDenied
Description copied from interface: IAuthenticator
Check the authentication of a user.
Specified by:
authenticate in interface IAuthenticator
Following copied from interface: com.lyrisoft.chat.server.remote.IAuthenticator
Parameters:
userId - the user id
password - the password
Returns:
an Auth object that represents the userId and access level.


Copyright © 2000-2002 Taso Lyristis