public class PrivilegeInfoSessionMananger
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
FR_CURRENT_PRIVILEGE_LOADER |
构造器和说明 |
---|
PrivilegeInfoSessionMananger() |
限定符和类型 | 方法和说明 |
---|---|
static FArray |
getCurrentDepartmentAndPost(javax.servlet.http.HttpSession session)
获取登录到系统的部门和机构组成的一个集合
|
static java.lang.String |
getCurrentUserName(javax.servlet.http.HttpSession session)
获取当前登录到系统的用户名
|
static java.util.Map<java.lang.String,javax.servlet.http.HttpSession> |
getSessionMap() |
static void |
login(PrivilegeLoader loader,
javax.servlet.http.HttpSession session,
javax.servlet.http.HttpServletResponse res)
通过权限控制系统登录
|
static void |
logout(javax.servlet.http.HttpSession session) |
public static final java.lang.String FR_CURRENT_PRIVILEGE_LOADER
public static void login(PrivilegeLoader loader, javax.servlet.http.HttpSession session, javax.servlet.http.HttpServletResponse res)
loader
- 权限登录系统器session
- HTTP会话res
- HTTP响应public static java.lang.String getCurrentUserName(javax.servlet.http.HttpSession session)
session
- HTTP会话public static java.util.Map<java.lang.String,javax.servlet.http.HttpSession> getSessionMap()
public static FArray getCurrentDepartmentAndPost(javax.servlet.http.HttpSession session)
session
- HTTP会话public static void logout(javax.servlet.http.HttpSession session)