public interface LoginControl
Title: T1开发框架
Description: 登录过程控制Bean。
Copyright: Copyright (c) 2012
Company: seeyon.com
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.Map<java.lang.String,com.seeyon.ctp.login.LoginActiveX> |
getLoginActiveXes()
获取登录Active插件
|
java.util.Map<java.lang.String,com.seeyon.ctp.login.LoginAuthentication> |
getLoginAuthentications() |
java.util.Map<java.lang.String,com.seeyon.ctp.login.LoginInterceptor> |
getLoginIntercepters() |
void |
initLoginUser()
初始化用户信息
|
void |
transChangeLoginAccount(long newLoginAccountId)
切换登陆单位
|
void |
transChangeLoginAccountOrRole(long newLoginAccountId,
com.seeyon.ctp.organization.OrgConstants.Role_NAME roleName)
切换工作台
|
void |
transChangeTemplate(java.lang.Long tplId)
首页模板变更接口
|
com.seeyon.ctp.common.constants.LoginResult |
transDoLogin(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session,
javax.servlet.http.HttpServletResponse response)
系统登陆接口
|
java.lang.String |
transDoLogout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session,
javax.servlet.http.HttpServletResponse response)
系统退出接口
|
void initLoginUser()
throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessExceptioncom.seeyon.ctp.common.constants.LoginResult transDoLogin(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session,
javax.servlet.http.HttpServletResponse response)
throws com.seeyon.ctp.common.exceptions.BusinessException
request - Servlet请求对象session - Session对象response - Servlet应答对象com.seeyon.ctp.common.exceptions.BusinessExceptionjava.lang.String transDoLogout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session,
javax.servlet.http.HttpServletResponse response)
throws com.seeyon.ctp.common.exceptions.BusinessException
request - Servlet请求对象session - Session对象response - Servlet应答对象com.seeyon.ctp.common.exceptions.BusinessExceptionvoid transChangeLoginAccount(long newLoginAccountId)
throws com.seeyon.ctp.common.exceptions.BusinessException
newLoginAccountId - 切换登陆单位IDcom.seeyon.ctp.common.exceptions.BusinessExceptionvoid transChangeLoginAccountOrRole(long newLoginAccountId,
com.seeyon.ctp.organization.OrgConstants.Role_NAME roleName)
throws com.seeyon.ctp.common.exceptions.BusinessException
loginAccountId - 切换单位idroleName - 角色com.seeyon.ctp.common.exceptions.BusinessExceptionvoid transChangeTemplate(java.lang.Long tplId)
tplId - 要切换的首页模板IDjava.util.Map<java.lang.String,com.seeyon.ctp.login.LoginActiveX> getLoginActiveXes()
java.util.Map<java.lang.String,com.seeyon.ctp.login.LoginInterceptor> getLoginIntercepters()
java.util.Map<java.lang.String,com.seeyon.ctp.login.LoginAuthentication> getLoginAuthentications()