com.lyrisoft.chat.server.remote
Interface IAuthenticator
- All Known Implementing Classes:
- MysqlAuthenticator, NullAuthenticator, PasswdAuthenticator, JdbcAuthenticator
- public interface IAuthenticator
Interface for objects that will handle authentication. The server will delegate signOn
calls to us.
Method Summary |
Auth |
authenticate(java.lang.String userId,
java.lang.String password)
Check the authentication of a user. |
NONE
public static final int NONE
USER
public static final int USER
MODERATOR
public static final int MODERATOR
GOD
public static final int GOD
SERVER
public static final int SERVER
authenticate
public Auth authenticate(java.lang.String userId,
java.lang.String password)
throws AccessDenied
- Check the authentication of a user.
- Parameters:
userId
- the user idpassword
- the password- Returns:
- an Auth object that represents the userId and access level.
Copyright © 2000-2002 Taso Lyristis