Package de.xima.fc.gui.bean.project
Class ProjectAccessBean
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class ProjectAccessBean extends AProjectDetailsBean
Bean for the project sub menu "access".- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ProjectAccessBean.SelectedFrontendServerListView
A view on theProjekt.getMandantFrontendServer()
that includes only frontend servers not allowed for all forms (MandantFrontendServer.isAllowAllForms()
).
-
Field Summary
-
Fields inherited from class de.xima.fc.gui.bean.AEntityDetailsBean
entity, LOG
-
-
Constructor Summary
Constructors Constructor Description ProjectAccessBean()
-
Method Summary
-
Methods inherited from class de.xima.fc.gui.bean.project.AProjectDetailsBean
getCurrentProjectBean, getDao, getProject, getSessionBean, reloadProject, setCurrentProjectBean, setEntity, setEntity, setProject, setProject, setSessionBean
-
Methods inherited from class de.xima.fc.gui.bean.AEntityDetailsBean
getEntity
-
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, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, errorMsg, errorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg, msg
-
-
-
-
Method Detail
-
getSelectedClientFrontendServers
public List<MandantFrontendServer> getSelectedClientFrontendServers()
-
setSelectedClientFrontendServers
public void setSelectedClientFrontendServers(List<MandantFrontendServer> selectedClientFrontendServers)
-
isAllowAuthenticatedUser
public boolean isAllowAuthenticatedUser()
-
setAllowAuthenticatedUser
public void setAllowAuthenticatedUser(boolean allowAuthenticatedUser)
-
getAvailableFixAuthConfigs
public List<ProjectAuthenticatorConfig> getAvailableFixAuthConfigs()
-
setAvailableFixAuthConfigs
public void setAvailableFixAuthConfigs(List<ProjectAuthenticatorConfig> availableFixAuthConfigs)
-
getAvailableMovableAuthConfigs
public List<ProjectAuthenticatorConfig> getAvailableMovableAuthConfigs()
-
setAvailableMovableAuthConfigs
public void setAvailableMovableAuthConfigs(List<ProjectAuthenticatorConfig> availableMovableAuthConfigs)
-
getSelectedFixAuthConfigs
public List<ProjectAuthenticatorConfig> getSelectedFixAuthConfigs()
-
setSelectedFixAuthConfigs
public void setSelectedFixAuthConfigs(List<ProjectAuthenticatorConfig> selectedFixAuthConfigs)
-
getSelectedMovableAuthConfigs
public List<ProjectAuthenticatorConfig> getSelectedMovableAuthConfigs()
-
setSelectedMovableAuthConfigs
public void setSelectedMovableAuthConfigs(List<ProjectAuthenticatorConfig> selectedMovableAuthConfigs)
-
isAllowPasswordAuthenticator
public boolean isAllowPasswordAuthenticator()
-
setAllowPasswordAuthenticator
public void setAllowPasswordAuthenticator(boolean allowPasswordAuthenticator)
-
getAccessPassword
public String getAccessPassword()
-
setAccessPassword
public void setAccessPassword(String accessPassword)
-
isShowAccessPasswordPlainText
public boolean isShowAccessPasswordPlainText()
- Returns:
- Whether the
getAccessPassword()
should be shown as plain text, or obfuscated (with little stars or dots).
-
setShowAccessPasswordPlainText
public void setShowAccessPasswordPlainText(boolean showAccessPasswordPlainText)
- Parameters:
showAccessPasswordPlainText
- Whether thegetAccessPassword()
should be shown as plain text, or obfuscated (with little stars or dots).
-
isProvideAnonymousLogin
public boolean isProvideAnonymousLogin()
-
setProvideAnonymousLogin
public void setProvideAnonymousLogin(boolean isProvideAnonymousLogin)
-
isShowOfflineSettings
public boolean isShowOfflineSettings()
- Returns:
- Whether the panel with the offline settings should be shown. It is shown only when the form can potentially be offline.
-
getAvailableUserGroups
public List<BenutzerGruppe> getAvailableUserGroups()
- Returns:
- A list of all user groups for the current client
-
isHasMandantFrontendServerAllowedForAllForms
public boolean isHasMandantFrontendServerAllowedForAllForms()
-
getMandantFrontendServer
public List<MandantFrontendServer> getMandantFrontendServer()
- Returns:
- A list of all client frontend servers that are not granted access to forms automatically.
-
getMandantFrontendServerAllowedForAllForms
public List<MandantFrontendServer> getMandantFrontendServerAllowedForAllForms()
- Returns:
- A list of all client frontend servers that are granted access to forms automatically.
-
isShowAnonymousLoginOption
public boolean isShowAnonymousLoginOption()
-
getIdCheckData
public ProjectIdentityCheckData getIdCheckData()
-
getAvailableHtmlTemplates
public List<Textbaustein> getAvailableHtmlTemplates()
-
getStateModel
public IEntityListModel<Status> getStateModel()
-
setStateModel
public void setStateModel(IEntityListModel<Status> stateModel)
-
isProjectAccessPublic
public boolean isProjectAccessPublic()
-
getAllFormAuthTypes
@Deprecated public List<EFormAuthTyp> getAllFormAuthTypes()
Deprecated.
-
getFormAuthType
@Deprecated public EFormAuthTyp getFormAuthType()
Deprecated.
-
setFormAuthType
@Deprecated public void setFormAuthType(EFormAuthTyp type)
Deprecated.
-
getViewBean
@Deprecated public ViewBean getViewBean()
Deprecated.
-
setViewBean
@Deprecated public void setViewBean(ViewBean viewBean)
Deprecated.
-
toggleAccessPasswordPlainText
public void toggleAccessPasswordPlainText()
-
updateIdentityTokens
public void updateIdentityTokens()
Updates all identity tokens for all form records of the currently selected project. Uses the identity token template of the current project. Adds meaningful error messages with the form records that caused the failure.
-
hasMandantFrontendServer
public boolean hasMandantFrontendServer()
-
getDisplayName
public String getDisplayName(ProjectAuthenticatorConfig authConfig)
-
save
public void save()
- Overrides:
save
in classAProjectDetailsBean
-
init
protected void init(IEntityContext ec, Projekt project)
- Overrides:
init
in classAEntityDetailsBean<Projekt>
-
-