gboat2.base.bridge.model
类 UserSession

java.lang.Object
  继承者 gboat2.base.bridge.model.UserSession
所有已实现的接口:
Serializable

public class UserSession
extends Object
implements Serializable

保存在 Session 中的用户信息对象

从以下版本开始:
1.0
作者:
lysming
另请参见:
序列化表格

字段摘要
static String NAVIGATION_MENU
           
static String PRIORITY_KEY
          在 Session 中保存权限信息的 key:"COM.GLODON.SSO.PRIORITY.KEY"
static String SSO_SESSION_ID
          在 Session 中保存单点登录信息的 key:"sso_session_id"
static String SUPER_ID
          超级管理员的用户名:"COM.GLODON.SSO.SUPER"
static String SUPER_PASSWORD
          超级管理员的密码:"super"
static String USER_SESSION_KEY
          在 Session 中保存用户信息的 key:"COM.GLODON.SSO.SESSION.KEY"
 
构造方法摘要
UserSession()
           
 
方法摘要
<T> T
getAttribute(String name)
           
 String getDataLevelCode(String resourceCode)
           
 String getGroupCode()
           
 String getLoginedIp()
           
 String getLoginId()
           
 String getOrganId()
           
 String getOrganType()
           
 Priority getPriority()
           
 String getRoleCode()
           
 String getSsoSessionID()
           
 String getSystemId()
           
 String getUserId()
           
 String getUserNameEn()
           
 String getUserNameZh()
           
 boolean havePriority(Resource res)
          判断是否具有Operation的权限
 void setAttribute(String name, Object value)
           
 void setGroupCode(String groupCode)
           
 void setLoginedIp(String loginedIp)
           
 void setLoginId(String loginId)
           
 void setOrganId(String organId)
           
 void setOrganType(String organType)
           
 void setPriority(Priority priority)
           
 void setRoleCode(String roleCode)
           
 void setSsoSessionID(String ssoSessionID)
           
 void setSystemId(String systemId)
           
 void setUserId(String userId)
           
 void setUserNameEn(String userNameEn)
           
 void setUserNameZh(String userNameZh)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

USER_SESSION_KEY

public static final String USER_SESSION_KEY
在 Session 中保存用户信息的 key:"COM.GLODON.SSO.SESSION.KEY"

另请参见:
常量字段值

SSO_SESSION_ID

public static final String SSO_SESSION_ID
在 Session 中保存单点登录信息的 key:"sso_session_id"

另请参见:
常量字段值

PRIORITY_KEY

public static final String PRIORITY_KEY
在 Session 中保存权限信息的 key:"COM.GLODON.SSO.PRIORITY.KEY"

另请参见:
常量字段值

SUPER_PASSWORD

public static final String SUPER_PASSWORD
超级管理员的密码:"super"

另请参见:
常量字段值

SUPER_ID

public static final String SUPER_ID
超级管理员的用户名:"COM.GLODON.SSO.SUPER"

另请参见:
常量字段值

NAVIGATION_MENU

public static final String NAVIGATION_MENU
另请参见:
常量字段值
构造方法详细信息

UserSession

public UserSession()
方法详细信息

havePriority

public boolean havePriority(Resource res)
判断是否具有Operation的权限

参数:
res - 访问的操作
返回:
boolean

getDataLevelCode

public String getDataLevelCode(String resourceCode)
参数:
resourceCode - the actionClass name
返回:

getUserId

public String getUserId()

setUserId

public void setUserId(String userId)

getLoginId

public String getLoginId()

setLoginId

public void setLoginId(String loginId)

getUserNameZh

public String getUserNameZh()

setUserNameZh

public void setUserNameZh(String userNameZh)

getUserNameEn

public String getUserNameEn()

setUserNameEn

public void setUserNameEn(String userNameEn)

getOrganId

public String getOrganId()

setOrganId

public void setOrganId(String organId)

getOrganType

public String getOrganType()

setOrganType

public void setOrganType(String organType)

getLoginedIp

public String getLoginedIp()

setLoginedIp

public void setLoginedIp(String loginedIp)

getGroupCode

public String getGroupCode()

setGroupCode

public void setGroupCode(String groupCode)

getRoleCode

public String getRoleCode()

setRoleCode

public void setRoleCode(String roleCode)

getSsoSessionID

public String getSsoSessionID()

setSsoSessionID

public void setSsoSessionID(String ssoSessionID)

getAttribute

public <T> T getAttribute(String name)

setAttribute

public void setAttribute(String name,
                         Object value)

getPriority

public Priority getPriority()

setPriority

public void setPriority(Priority priority)

getSystemId

public String getSystemId()

setSystemId

public void setSystemId(String systemId)


Copyright © 2014 广联达软件股份有限公司(Glodon Software Co., Ltd.). All rights reserved.