Package de.xima.fc.gui.bean.project
Class ProjectAccessBean
- All Implemented Interfaces:
Serializable
Bean for the project sub menu "access".
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
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 -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.getDisplayName
(ProjectAuthenticatorConfig authConfig) Deprecated.Deprecated.boolean
protected void
init
(IEntityContext ec, Projekt project) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
save()
void
setAccessPassword
(String accessPassword) void
setAllowAuthenticatedUser
(boolean allowAuthenticatedUser) void
setAllowPasswordAuthenticator
(boolean allowPasswordAuthenticator) void
setAvailableFixAuthConfigs
(List<ProjectAuthenticatorConfig> availableFixAuthConfigs) void
setAvailableMovableAuthConfigs
(List<ProjectAuthenticatorConfig> availableMovableAuthConfigs) void
setFormAuthType
(EFormAuthTyp type) Deprecated.void
setProvideAnonymousLogin
(boolean isProvideAnonymousLogin) void
setSelectedClientFrontendServers
(List<MandantFrontendServer> selectedClientFrontendServers) void
setSelectedFixAuthConfigs
(List<ProjectAuthenticatorConfig> selectedFixAuthConfigs) void
setSelectedMovableAuthConfigs
(List<ProjectAuthenticatorConfig> selectedMovableAuthConfigs) void
setShowAccessPasswordPlainText
(boolean showAccessPasswordPlainText) void
setStateModel
(IEntityListModel<Status> stateModel) void
setViewBean
(ViewBean viewBean) Deprecated.void
void
Updates all identity tokens for all form records of the currently selected project.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
Methods inherited from class de.xima.fc.gui.common.utils.msg.I18nUtils
getFacesContext, getLocale, rbValue, rbValue, rbValue, rbValueOrDefault, rbValueOrDefault
-
Constructor Details
-
ProjectAccessBean
public ProjectAccessBean()
-
-
Method Details
-
getSelectedClientFrontendServers
-
setSelectedClientFrontendServers
public void setSelectedClientFrontendServers(List<MandantFrontendServer> selectedClientFrontendServers) -
isAllowAuthenticatedUser
public boolean isAllowAuthenticatedUser() -
setAllowAuthenticatedUser
public void setAllowAuthenticatedUser(boolean allowAuthenticatedUser) -
getAvailableFixAuthConfigs
-
setAvailableFixAuthConfigs
-
getAvailableMovableAuthConfigs
-
setAvailableMovableAuthConfigs
public void setAvailableMovableAuthConfigs(List<ProjectAuthenticatorConfig> availableMovableAuthConfigs) -
getSelectedFixAuthConfigs
-
setSelectedFixAuthConfigs
-
getSelectedMovableAuthConfigs
-
setSelectedMovableAuthConfigs
public void setSelectedMovableAuthConfigs(List<ProjectAuthenticatorConfig> selectedMovableAuthConfigs) -
isAllowPasswordAuthenticator
public boolean isAllowPasswordAuthenticator() -
setAllowPasswordAuthenticator
public void setAllowPasswordAuthenticator(boolean allowPasswordAuthenticator) -
getAccessPassword
-
setAccessPassword
-
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
- Returns:
- A list of all user groups for the current client
-
isHasMandantFrontendServerAllowedForAllForms
public boolean isHasMandantFrontendServerAllowedForAllForms() -
getMandantFrontendServer
- Returns:
- A list of all client frontend servers that are not granted access to forms automatically.
-
getMandantFrontendServerAllowedForAllForms
- Returns:
- A list of all client frontend servers that are granted access to forms automatically.
-
isShowAnonymousLoginOption
public boolean isShowAnonymousLoginOption() -
getIdCheckData
-
getAvailableHtmlTemplates
-
getStateModel
-
setStateModel
-
isProjectAccessPublic
public boolean isProjectAccessPublic() -
getPermittedPersonGroupsDescriptions
-
getAllFormAuthTypes
Deprecated. -
getFormAuthType
Deprecated. -
setFormAuthType
Deprecated. -
getViewBean
Deprecated. -
setViewBean
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
-
save
public void save()- Overrides:
save
in classAProjectDetailsBean
-
init
- Overrides:
init
in classAEntityDetailsBean<Projekt>
-