public class LdapDirectUserFactory extends AdminUserFactory
Modifier and Type | Field and Description |
---|---|
static Logger |
logger |
SESSION_KEY, USER_FACTORY_KEY, userInfoList
AUTO_LOGIN_AGE_SEC, TOKEN_PARAM
Constructor and Description |
---|
LdapDirectUserFactory() |
Modifier and Type | Method and Description |
---|---|
void |
addUserInfo(IUserInfo userInfo) |
User |
autoLogin(javax.servlet.http.HttpServletRequest request,
String login) |
void |
clearUserInfoList() |
UserInfo |
createUserInfos() |
void |
deleteUser(String login) |
User |
getCurrentUser(javax.servlet.http.HttpSession session) |
User |
getUser(String login) |
List<IUserInfo> |
getUserInfoForRoles(String[] inRoles) |
List<IUserInfo> |
getUserInfoList() |
IUserInfo |
getUserInfos(String id) |
void |
init(GlobalContext globalContext,
javax.servlet.http.HttpSession session) |
boolean |
isStandardStorage()
check if the user system use standard storage system of wcms
|
User |
login(javax.servlet.http.HttpServletRequest request,
String login,
String password) |
void |
mergeUserInfo(IUserInfo userInfo) |
void |
releaseUserInfoList() |
void |
store() |
void |
updateUserInfo(IUserInfo userInfo) |
createAdminUserFactory, createUserFactory, getAllRoles, getFileName, getRoleList, login
addOrModifyUserInfo, createPasswordChangeKey, createUser, createUserFactory, getCurrentUser, getInternetAddress, getInternetAddress, getPasswordChangeWidthKey, getRoleWrapper, getTokenCreateIfNotExist, getUserByEmail, load, logout, reload, store, userListAsInternetAddressList
public static Logger logger
public void addUserInfo(IUserInfo userInfo) throws UserAllreadyExistException
addUserInfo
in interface IUserFactory
addUserInfo
in class UserFactory
UserAllreadyExistException
public User autoLogin(javax.servlet.http.HttpServletRequest request, String login)
autoLogin
in interface IUserFactory
autoLogin
in class AdminUserFactory
public void clearUserInfoList()
clearUserInfoList
in interface IUserFactory
clearUserInfoList
in class UserFactory
public UserInfo createUserInfos()
createUserInfos
in interface IUserFactory
createUserInfos
in class AdminUserFactory
public void deleteUser(String login)
deleteUser
in interface IUserFactory
deleteUser
in class UserFactory
public User getCurrentUser(javax.servlet.http.HttpSession session)
getCurrentUser
in class AdminUserFactory
public User getUser(String login)
getUser
in interface IUserFactory
getUser
in class AdminUserFactory
public List<IUserInfo> getUserInfoForRoles(String[] inRoles)
getUserInfoForRoles
in interface IUserFactory
getUserInfoForRoles
in class UserFactory
public List<IUserInfo> getUserInfoList()
getUserInfoList
in interface IUserFactory
getUserInfoList
in class UserFactory
public IUserInfo getUserInfos(String id)
getUserInfos
in interface IUserFactory
getUserInfos
in class UserFactory
public void init(GlobalContext globalContext, javax.servlet.http.HttpSession session)
init
in interface IUserFactory
init
in class UserFactory
public boolean isStandardStorage()
IUserFactory
isStandardStorage
in interface IUserFactory
isStandardStorage
in class UserFactory
public User login(javax.servlet.http.HttpServletRequest request, String login, String password)
login
in interface IUserFactory
login
in class AdminUserFactory
public void mergeUserInfo(IUserInfo userInfo)
mergeUserInfo
in interface IUserFactory
mergeUserInfo
in class UserFactory
public void releaseUserInfoList()
releaseUserInfoList
in interface IUserFactory
releaseUserInfoList
in class UserFactory
public void store()
store
in interface IUserFactory
store
in class UserFactory
public void updateUserInfo(IUserInfo userInfo)
updateUserInfo
in interface IUserFactory
updateUserInfo
in class UserFactory
Copyright © 2012-2018. All Rights Reserved.