public class AdminUserFactory extends UserFactory
Modifier and Type | Field and Description |
---|---|
static Logger |
logger |
SESSION_KEY, USER_FACTORY_KEY, userInfoList
AUTO_LOGIN_AGE_SEC, TOKEN_PARAM
Constructor and Description |
---|
AdminUserFactory() |
Modifier and Type | Method and Description |
---|---|
User |
autoLogin(javax.servlet.http.HttpServletRequest request,
String login) |
static AdminUserFactory |
createAdminUserFactory(GlobalContext globalContext,
javax.servlet.http.HttpSession session)
Deprecated.
use createUserFactory
|
static AdminUserFactory |
createUserFactory(GlobalContext globalContext,
javax.servlet.http.HttpSession session) |
UserInfo |
createUserInfos() |
Set<String> |
getAllRoles(GlobalContext globalContext,
javax.servlet.http.HttpSession session)
get all roles of the user.
|
User |
getCurrentUser(javax.servlet.http.HttpSession session) |
protected String |
getFileName() |
protected Set<String> |
getRoleList(ContentContext ctx) |
User |
getUser(String login) |
User |
login(javax.servlet.http.HttpServletRequest request,
String token) |
User |
login(javax.servlet.http.HttpServletRequest request,
String login,
String password) |
addOrModifyUserInfo, addUserInfo, clearUserInfoList, createPasswordChangeKey, createUser, createUserFactory, deleteUser, getCurrentUser, getInternetAddress, getInternetAddress, getPasswordChangeWidthKey, getRoleWrapper, getTokenCreateIfNotExist, getUserByEmail, getUserInfoForRoles, getUserInfoList, getUserInfos, init, isStandardStorage, load, logout, mergeUserInfo, releaseUserInfoList, reload, store, store, updateUserInfo, userListAsInternetAddressList
public static Logger logger
public static AdminUserFactory createUserFactory(GlobalContext globalContext, javax.servlet.http.HttpSession session)
@Deprecated public static AdminUserFactory createAdminUserFactory(GlobalContext globalContext, javax.servlet.http.HttpSession session)
globalContext
- session
- protected String getFileName()
getFileName
in class UserFactory
public User getUser(String login)
getUser
in interface IUserFactory
getUser
in class UserFactory
public User login(javax.servlet.http.HttpServletRequest request, String login, String password)
login
in interface IUserFactory
login
in class UserFactory
public User autoLogin(javax.servlet.http.HttpServletRequest request, String login)
autoLogin
in interface IUserFactory
autoLogin
in class UserFactory
public User getCurrentUser(javax.servlet.http.HttpSession session)
public Set<String> getAllRoles(GlobalContext globalContext, javax.servlet.http.HttpSession session)
IUserFactory
getAllRoles
in interface IUserFactory
getAllRoles
in class UserFactory
public UserInfo createUserInfos()
createUserInfos
in interface IUserFactory
createUserInfos
in class UserFactory
public User login(javax.servlet.http.HttpServletRequest request, String token)
login
in interface IUserFactory
login
in class UserFactory
protected Set<String> getRoleList(ContentContext ctx)
getRoleList
in class UserFactory
Copyright © 2012-2018. All Rights Reserved.