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 Modifier and Type Class Description class
ExternalUserSystemBean.EntityListModelImpl<T extends ITransferableEntity>
-
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, availableTypes, azureDisabledScopeTags, custParameter, enumBean, facebookDisabledScopeTags, googleScopes, mapDisplayName, mapFirstName, mapLastName, mapLocale, mapLocation, mapMail, mapPictureUrl, mapProfileUrl, mapUserName, model, navigationBean, newKPPassword, newKSFile, newKSPassword, oauthProfileRequestType, oidDisabledScopeTags, pluginFiles, pluginViewURL, responseModes, responseTypes, sessionBean, uploadKeyStore, usedBeanHelpers, uuidString, viewBean, wrapper
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthPluginParameterModel<SystemAuthenticatorFile>
addNewFileParameter()
boolean
canAccessAuthenticatorType(EAuthClientType type)
SystemAuthenticatorFile
createEmptyFile(byte[] data, org.primefaces.event.FileUploadEvent event)
void
createNewKeyStore()
org.primefaces.model.StreamedContent
createServiceProviderMetadata()
List<IPluginAuthenticatorType>
getAllPlugins()
Mandant
getClientScope()
IEntityListModelSelectByView<SystemAuthenticator>
getModel()
String
getNameValidatorId()
protected IPluginAuthenticatorType
getPluginForAuthenticator(AAuthenticator<?> selected)
boolean
isNameExists(String name)
void
setModel(IEntityListModelSelectByView<SystemAuthenticator> model)
void
updateModel()
boolean
validateAlias(String alias)
-
Methods inherited from class de.xima.fc.gui.bean.AExternalUserBean
activateConfigState, addFileParameter, addNewCustParameter, addNewCustParameter, destroyPluginBeans, downloadFile, downloadFile, getAuthenticationJwsAlgos, getAuthenticationMethods, getAuthnRequestBindingTypes, getAvailableTypes, getBeanHelperForPlugin, getBeanHelperForSelected, getCallbackURL, getCallbackURL, getCallbackUrlType, getCustParameter, getEMailContent, getEnumBean, getFacebookDisabledScopeTags, getGeneratedKeyStoreInfos, getGoogleScopes, getMapDisplayName, getMapFirstName, getMapLastName, getMapLocale, getMapLocation, getMapMail, getMapPictureUrl, getMapProfileUrl, getMapUserName, getNavigationBean, getNewKPPassword, getNewKSFile, getNewKSPassword, getOAuthProfileRequestTypes, getOidDisabledScopeTags, getPluginFiles, getPluginViewURL, getResponseBindingTypes, getResponseModes, getResponseTypes, getSessionBean, getUuidString, getViewBean, getWrapper, initParameterModels, invokeOnAuthenticatorBeforeSaveCallback, invokeOnAuthenticatorSelectedCallback, isCanAccessAnyStandardAuthenticators, isUploadKeyStore, onSetType, onSetType, openHelp, processUpload, removeCustParameter, removeFileParameter, resetAttribtues, save, saveTempAttributes, setAvailableTypes, setCallbackUrlType, setCustParameter, setEnumBean, setMapDisplayName, setMapFirstName, setMapLastName, setMapLocale, setMapLocation, setMapMail, setMapPictureUrl, setMapProfileUrl, setMapUserName, setNavigationBean, setNewKPPassword, setNewKSFile, setNewKSPassword, setPluginFiles, setSessionBean, setType, setUploadKeyStore, setUuidString, setViewBean, translateAuthReq, translateBindingTypes, updateWrapper, uploadFile
-
Methods inherited from class de.xima.fc.gui.bean.FCContextBean
isSetupUser, redirectToDashboard, 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
-
isNameExists
public boolean isNameExists(String name)
- Specified by:
isNameExists
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
addNewFileParameter
public AuthPluginParameterModel<SystemAuthenticatorFile> addNewFileParameter()
-
getModel
public IEntityListModelSelectByView<SystemAuthenticator> getModel()
- Returns:
- the model
-
setModel
public void setModel(IEntityListModelSelectByView<SystemAuthenticator> model)
- Parameters:
model
- the model to set
-
updateModel
public void updateModel()
-
getAllPlugins
public List<IPluginAuthenticatorType> getAllPlugins()
-
createEmptyFile
public SystemAuthenticatorFile createEmptyFile(byte[] data, org.primefaces.event.FileUploadEvent event)
- Specified by:
createEmptyFile
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>
-
createNewKeyStore
public void createNewKeyStore()
- Specified by:
createNewKeyStore
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
createServiceProviderMetadata
public org.primefaces.model.StreamedContent createServiceProviderMetadata()
- Specified by:
createServiceProviderMetadata
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
getClientScope
public Mandant getClientScope()
- Specified by:
getClientScope
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
getPluginForAuthenticator
protected IPluginAuthenticatorType getPluginForAuthenticator(AAuthenticator<?> selected)
- Specified by:
getPluginForAuthenticator
in classAExternalUserBean<SystemAuthenticatorFile,SystemAuthenticator>
-
-