Package de.xima.fc.gui.bean.settings
Class ExternalUserSystemBean
- java.lang.Object
-
- de.xima.fc.gui.common.utils.msg.I18nUtils
-
- de.xima.fc.gui.common.utils.msg.MessageUtils
-
- de.xima.fc.gui.common.utils.msg.AMessaging
-
- de.xima.fc.gui.common.utils.msg.AJSFContext
-
- de.xima.fc.gui.bean.ABackendJSFContext
-
- de.xima.fc.gui.bean.FCContextBean
-
- de.xima.fc.gui.bean.AExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
- de.xima.fc.gui.bean.settings.ExternalUserSystemBean
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class ExternalUserSystemBean extends AExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
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.AExternalUserBean
authenticationMethods, authProps, availableTypes, azureDisabledScopeTags, codeChallengeMethods, custParameter, enumBean, facebookDisabledScopeTags, googleScopes, mapDisplayName, mapFirstName, mapLastName, mapLocale, mapLocation, mapMail, mapPictureUrl, mapProfileUrl, mapUserName, model, newKPPassword, newKSFileData, newKSFileName, newKSPassword, oauthProfileRequestType, oidDisabledScopeTags, pluginFiles, pluginViewURL, responseModes, responseTypes, selectionBean, usedBeanHelpers, uuidString, viewBean, viewContext
-
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 ExternalUserSystemBean()
-
Method Summary
-
Methods inherited from class de.xima.fc.gui.bean.AExternalUserBean
activateConfigState, addCustomServerOption, addFileParameter, addNewCustParameter, addNewCustParameter, checkConnection, delete, deleteMarkedEntities, destroyPluginBeans, downloadFile, downloadFile, generateNewKeyStore, generateServiceProviderMetadata, getAuthenticationJwsAlgos, getAuthenticationMethods, getAuthnRequestBindingTypes, getAuthProps, getAvailableTypes, getBeanHelperForPlugin, getBeanHelperForSelected, getCallbackURL, getCallbackURL, getCallbackUrlTemplate, getCallbackUrlType, getCodeChallengeMethods, getConfirmDeleteMessages, getCustParameter, getDefaultSpEntityId, getDescription, getEMailContent, getEnumBean, getFacebookDisabledScopeTags, getGeneratedKeyStoreInfos, getGoogleScopes, getHelpPath, getHtmlHelpSnippet, getIconStyle, getIconStyleClass, getIconValue, getMapDisplayName, getMapFirstName, getMapLastName, getMapLocale, getMapLocation, getMapMail, getMapPictureUrl, getMapProfileUrl, getMapUserName, getModel, getName, getNameStyleClass, getNewKPPassword, getNewKSPassword, getOAuthProfileRequestTypes, getOidDisabledScopeTags, getPluginFiles, getPluginViewURL, getResponseBindingTypes, getResponseModes, getResponseTypes, getRowKey, getRowStyleClass, getSamlSpGeneratedMetadata, getSelectColumnStyleClass, getSelectedServer, getSelectedServers, getSelectionStoreValue, getServerOptions, getToDelete, getUuidString, getViewBean, hasCallbackUrl, initParameterModels, initServerOptions, invokeOnAuthenticatorBeforeSaveCallback, invokeOnAuthenticatorSelectedCallback, isCanAccessAnyStandardAuthenticators, isCheckConnectionBtnDisabled, isCustom, isRedirectClient, isSelectionDisabled, isServerOptionsMultiSelect, isShowCheckConnectionBtn, isShowTestUserInputClientButton, isShowTestUserRedirectClientButton, isUploadKeyStore, onSetType, onSetType, processUpload, refreshClient, removeCustParameter, removeFileParameter, resetAttribtues, resetProps, save, saveTempAttributes, setAvailableTypes, setCallbackUrlType, setCustParameter, setEnumBean, setIdPMetadataFile, setKeystoreFile, setMapDisplayName, setMapFirstName, setMapLastName, setMapLocale, setMapLocation, setMapMail, setMapPictureUrl, setMapProfileUrl, setMapUserName, setNewKPPassword, setNewKSPassword, setPluginFiles, setSelectedServer, setSelectedServers, setType, setUuidString, setViewBean, showLicenseHint, translateAuthReq, translateBindingTypes, updateAuthProps, uploadCustomKeyStore, uploadFile, uploadIdentityProviderMetadata, validateDelete
-
Methods inherited from class de.xima.fc.gui.bean.FCContextBean
getNavigationBean, getSessionBean, isSetupUser, redirectToDashboard, setNavigationBean, 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, 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, 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
-
isNameExists
public boolean isNameExists(String name)
- Specified by:
isNameExists
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
addNewFileParameter
public AuthPluginParameterModel<SystemAuthenticatorFile> addNewFileParameter()
-
isRestrictClients
public boolean isRestrictClients()
-
setRestrictClients
public void setRestrictClients(boolean restrictClients)
-
getAllPlugins
public List<IPluginAuthenticatorType> getAllPlugins()
-
addNew
public void addNew()
- Specified by:
addNew
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
createNewFile
public SystemAuthenticatorFile createNewFile(byte[] data, String filename)
- Specified by:
createNewFile
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
canAccessAuthenticatorType
public boolean canAccessAuthenticatorType(EAuthClientType type)
- Specified by:
canAccessAuthenticatorType
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
getNameValidatorId
public String getNameValidatorId()
- Specified by:
getNameValidatorId
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
validateAlias
public boolean validateAlias(String alias)
- Specified by:
validateAlias
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
getClientScope
public Mandant getClientScope()
- Specified by:
getClientScope
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
getEntitySelectionType
public EEntityKeySelectionType getEntitySelectionType()
- Specified by:
getEntitySelectionType
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
getPluginForAuthenticator
protected IPluginAuthenticatorType getPluginForAuthenticator(IClientDescriptor selected)
- Specified by:
getPluginForAuthenticator
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
isSystem
public boolean isSystem()
- Specified by:
isSystem
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
getDao
protected IGenericDao<SystemAuthenticator> getDao()
- Specified by:
getDao
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
getAuthenticatorTypeOptions
protected List<EAuthClientType> getAuthenticatorTypeOptions()
- Specified by:
getAuthenticatorTypeOptions
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
save
protected SystemAuthenticator save(IEntityContext ec, SystemAuthenticator authenticator)
- Specified by:
save
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
save
protected void save(IEntityContext ec, EAuthClientType type)
- Specified by:
save
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
newModel
protected DataTableEntriesModel<IClientDescriptor> newModel()
- Specified by:
newModel
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
initNewSamlProps
protected void initNewSamlProps(SystemAuthenticator authenticator)
- Specified by:
initNewSamlProps
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
buildServerOptions
protected List<IServerModel> buildServerOptions()
- Specified by:
buildServerOptions
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
isKerberosExtensionAllowed
public boolean isKerberosExtensionAllowed(EAuthClientType type)
- Specified by:
isKerberosExtensionAllowed
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
-