Package de.xima.fc.gui.bean.user
Class UserBean
-
- All Implemented Interfaces:
ISupportChangeEventBean
,Serializable
@Named @ViewScoped public class UserBean extends FCContextBean implements ISupportChangeEventBean
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
UserBean.EntityListModelImpl
-
Nested classes/interfaces inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder
-
-
Field Summary
-
Fields inherited from class de.xima.fc.gui.bean.FCContextBean
systemUC
-
Fields inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
localeBean
-
-
Constructor Summary
Constructors Constructor Description UserBean()
-
Method Summary
-
Methods inherited from class de.xima.fc.gui.bean.FCContextBean
getSessionBean, isSetupUser, redirectToDashboard, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubView
-
Methods inherited from class de.xima.fc.gui.bean.ABackendJSFContext
ec, findEntityContext, isDetached, isHasDB
-
Methods inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findBean, findBean, findBean, findCurrentView, findUserContext, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, uc
-
Methods inherited from class de.xima.fc.gui.common.utils.msg.MessageUtils
addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgFromString, addErrorMsgFromString, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgFromString, addInfoMsgFromString, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg
-
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
destroy
@PreDestroy public void destroy()
-
getNavigationBean
public NavigationBean getNavigationBean()
- Overrides:
getNavigationBean
in classFCContextBean
- Returns:
- the navigationBean
-
setNavigationBean
public void setNavigationBean(NavigationBean navigationBean)
- Overrides:
setNavigationBean
in classFCContextBean
- Parameters:
navigationBean
- the navigationBean to set
-
getApplicationEventBusBean
public ApplicationEventBusBean getApplicationEventBusBean()
-
setApplicationEventBusBean
public void setApplicationEventBusBean(ApplicationEventBusBean applicationEventBusBean)
-
isSendPassword
public boolean isSendPassword()
-
setSendPassword
public void setSendPassword(boolean sendPassword)
-
getNewPassword
public String getNewPassword()
-
setNewPassword
public void setNewPassword(String newPassword)
-
getNewPasswordRepeat
public String getNewPasswordRepeat()
-
setNewPasswordRepeat
public void setNewPasswordRepeat(String newPasswordRepeat)
-
isChangePwd
public boolean isChangePwd()
-
setChangePwd
public void setChangePwd(boolean changePwd)
-
getPwdAssignType
public EPasswordAssignType getPwdAssignType()
-
setPwdAssignType
public void setPwdAssignType(EPasswordAssignType pwdAssignType)
-
getModel
public IEntityListModelSelectByView<Benutzer> getModel()
- Returns:
- the model
-
setModel
public void setModel(IEntityListModelSelectByView<Benutzer> model)
- Parameters:
model
- the model to set
-
updateModel
public void updateModel()
-
isCurrentActiv
public boolean isCurrentActiv()
-
setCurrentActiv
public void setCurrentActiv(boolean currentActiv)
-
isUserActive
public boolean isUserActive(Benutzer user)
-
isCurrentLDAP
public boolean isCurrentLDAP()
-
setCurrentLDAP
public void setCurrentLDAP(boolean currentLDAP)
-
checkPasswordStrength
public void checkPasswordStrength()
Checks the strength of a password phrase. Triggered from an AJAX event
-
getMinPwdLength
public int getMinPwdLength()
Determined the configured minimum password phrase length.- Returns:
- the min. length of password
-
handleChangeEvent
public void handleChangeEvent()
- Specified by:
handleChangeEvent
in interfaceISupportChangeEventBean
-
getConfiguredPwdRules
public String getConfiguredPwdRules()
-
findLDAPUser
public List<LDAPBenutzer> findLDAPUser(String query)
-
getLDAPUserList
public List<LDAPBenutzer> getLDAPUserList()
-
getLdapUser
public LDAPBenutzer getLdapUser()
-
onLDAPUserSelect
public void onLDAPUserSelect(org.primefaces.event.SelectEvent event)
-
setLdapUser
public void setLdapUser(LDAPBenutzer ldapUser)
-
showHeaderGroup
public boolean showHeaderGroup()
-
deletionAllowed
public boolean deletionAllowed()
-
deletionAllowed
public boolean deletionAllowed(Benutzer user)
-
modificationAllowed
public boolean modificationAllowed()
-
isClientAdminEditAllowed
public boolean isClientAdminEditAllowed()
-
isCurrentUser
public boolean isCurrentUser()
-
isCurrentLdap
public boolean isCurrentLdap()
-
isLastClientAdmin
public boolean isLastClientAdmin(Benutzer user)
-
isCurrentDeletionAllowed
public boolean isCurrentDeletionAllowed()
- Returns:
- the isCurrentDeletionAllowed
-
setCurrentDeletionAllowed
public void setCurrentDeletionAllowed(boolean isCurrentDeletionAllowed)
- Parameters:
isCurrentDeletionAllowed
- the isCurrentDeletionAllowed to set
-
isCurrentModificationAllowed
public boolean isCurrentModificationAllowed()
- Returns:
- the isCurrentModificationAllowed
-
setCurrentModificationAllowed
public void setCurrentModificationAllowed(boolean isCurrentModificationAllowed)
- Parameters:
isCurrentModificationAllowed
- the isCurrentModificationAllowed to set
-
getPwdAssignTypes
public List<EPasswordAssignType> getPwdAssignTypes()
-
isShowPwdAssignTypes
public boolean isShowPwdAssignTypes()
Liefert true zurück, wenn mehr als 1 Auswahl in der Liste für die Passwortvergabe-Typen enthalten ist.- Returns:
- if the password assign types should be shown
-
resetInputFields
public void resetInputFields()
-
isLoginLocked
public boolean isLoginLocked()
-
resetLoginAttemptsForSelected
public void resetLoginAttemptsForSelected()
-
-