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, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg
-
-
-
-
Method Detail
-
getViewBean
public ViewBean getViewBean()
-
setViewBean
public void setViewBean(ViewBean viewBean)
-
getStateModel
public IEntityListModel<Status> getStateModel()
-
setStateModel
public void setStateModel(IEntityListModel<Status> stateModel)
-
getAccessPassword
public String getAccessPassword()
-
setAccessPassword
public void setAccessPassword(String accessPassword)
-
isShowAuthorizationUserGroups
public boolean isShowAuthorizationUserGroups()
-
isProvideFORMLogin
public boolean isProvideFORMLogin()
-
isProvideNTLMLogin
public boolean isProvideNTLMLogin()
-
isProvideKerberosLogin
public boolean isProvideKerberosLogin()
-
isProvidePasswordLogin
public boolean isProvidePasswordLogin()
-
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)
-
isProvideAnonymousLogin
public boolean isProvideAnonymousLogin()
-
setProvideAnonymousLogin
public void setProvideAnonymousLogin(boolean isProvideAnonymousLogin)
-
clearUserGroupAccess
public void clearUserGroupAccess()
-
toggleAccessPasswordPlainText
public void toggleAccessPasswordPlainText()
-
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).
-
getUserGroupAccess
public List<IUserGroupAccess> getUserGroupAccess()
-
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.
-
getUserGroups
public List<BenutzerGruppe> getUserGroups()
- Returns:
- A list of all user groups for the current client
-
getMFSAliasLink
public String getMFSAliasLink(MandantFrontendServer mfs)
-
hasMandantFrontendServer
public boolean hasMandantFrontendServer()
-
isHasMandantFrontendServerAllowedForAllForms
public boolean isHasMandantFrontendServerAllowedForAllForms()
-
getSelectedClientFrontendServers
public List<MandantFrontendServer> getSelectedClientFrontendServers()
-
setSelectedClientFrontendServers
public void setSelectedClientFrontendServers(List<MandantFrontendServer> selectedClientFrontendServers)
-
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()
-
updateAuthenticators
public void updateAuthenticators()
-
updateClientFrontendServer
public void updateClientFrontendServer()
-
updateClientFrontendServerAllowedForAllForms
public void updateClientFrontendServerAllowedForAllForms()
-
setProjectAuthConfigs
public void setProjectAuthConfigs()
-
getDisplayName
public String getDisplayName(ProjectAuthenticatorConfig authConfig)
-
save
public void save()
- Overrides:
save
in classAProjectDetailsBean
-
setDefaults
public void setDefaults()
Invoked when the access dialog is opened. Resets the appropriate fields to their defaults.
-
updateStateModel
public void updateStateModel()
-
init
protected void init(IEntityContext ec, Projekt project)
- Overrides:
init
in classAEntityDetailsBean<Projekt>
-
getAllFormAuthTypes
@Deprecated public List<EFormAuthTyp> getAllFormAuthTypes()
Deprecated.
-
getFormAuthType
@Deprecated public EFormAuthTyp getFormAuthType()
Deprecated.
-
setFormAuthType
@Deprecated public void setFormAuthType(EFormAuthTyp type)
Deprecated.
-
getIdCheckData
public ProjectIdentityCheckData getIdCheckData()
-
getAvailableHtmlTemplates
public List<Textbaustein> getAvailableHtmlTemplates()
-
-