📄 iauthenticator.java
字号:
/* * Copyright (c) 2000 Lyrisoft Solutions, Inc. * Used by permission */package com.lyrisoft.chat.server.remote;/** * Interface for objects that will handle authentication. The server will delegate signOn * calls to us. */public interface IAuthenticator { public static final int NONE = 0; public static final int USER = 1; public static final int MODERATOR = 2; public static final int GOD = 100; public static final int SERVER = 1000; /** * Check the authentication of a user. * @param userId the user id * @param password the password * @return an Auth object that represents the userId and access level. */ public Auth authenticate(String userId, String password) throws AccessDenied;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -