⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 authorization.java

📁 一套完整的工商12315的源程序jsp部分在12315里,后台JAVA部分在gs12315src里,没有打包数据库.
💻 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 + -