📄 authorization.java
字号:
package com.gs.db;
/**
* 一个Authorization对象的存在证明了一个用户已经成功地登录。使用此对象
* 才能够获得 IofficeFactory的实例,从而能够获得ProfileManager,继而
* 获得 User,Group,Permission,Unit等实例
* <p>
* An Authorization object is a token that proves the user's access to the
* system. For example, the JSP code can get a IofficeFactory instance by the
* token, so that it can get more Objects by IofficeFactory methods, such as
* getProfileManager() to get a ProfileManager instance.
*
* @see AuthorizationFactory
* @see IofficeFactory
*/
public interface Authorization {
/**
* 返回与相关联的用户的ID
* return the userID associated with the Authorization token
* @return the userID
*/
public int getUserID();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -