Class AExternalUserBean<F extends IAuthentticatorFile<?,​?>,​E extends AAuthenticator<F>>

    • Constructor Detail

      • AExternalUserBean

        public AExternalUserBean()
    • Method Detail

      • getCallbackUrlTemplate

        public String getCallbackUrlTemplate()
      • createNewFile

        public abstract F createNewFile​(byte[] data,
                                        String filename)
      • getNameValidatorId

        public abstract String getNameValidatorId()
      • validateAlias

        public abstract boolean validateAlias​(String alias)
      • isNameExists

        public abstract boolean isNameExists​(String name)
      • canAccessAuthenticatorType

        public abstract boolean canAccessAuthenticatorType​(EAuthClientType type)
      • addNew

        public abstract void addNew()
      • isSystem

        public abstract boolean isSystem()
      • getAuthenticatorTypeOptions

        protected abstract List<EAuthClientType> getAuthenticatorTypeOptions()
      • initNewSamlProps

        protected abstract void initNewSamlProps​(E authenticator)
      • buildServerOptions

        protected abstract List<IServerModel> buildServerOptions()
      • isShowOmitWelcomeMail

        public boolean isShowOmitWelcomeMail()
      • validateDelete

        public void validateDelete​(E entity)
      • delete

        public void delete​(E entity)
      • showOidcTokenExpirationAdvancedWarning

        public boolean showOidcTokenExpirationAdvancedWarning​(IClientDescriptor client)
      • deleteMarkedEntities

        public void deleteMarkedEntities()
      • getConfirmDeleteMessages

        public List<javax.faces.application.FacesMessage> getConfirmDeleteMessages()
      • getToDelete

        public E getToDelete()
      • getSelectedServer

        public IServerModel getSelectedServer()
      • setSelectedServer

        public void setSelectedServer​(IServerModel selectedServer)
      • setSelectedServers

        public void setSelectedServers​(List<IServerModel> selectedServers)
      • getSamlSpGeneratedMetadata

        public org.primefaces.model.StreamedContent getSamlSpGeneratedMetadata()
      • getAuthenticationMethods

        public List<org.apache.commons.lang3.tuple.Pair<String,​String>> getAuthenticationMethods()
      • getGoogleScopes

        public List<org.apache.commons.lang3.tuple.Pair<String,​String>> getGoogleScopes()
      • getAuthenticationJwsAlgos

        public List<String> getAuthenticationJwsAlgos​(boolean includeNone)
      • getResponseModes

        public List<String> getResponseModes()
      • getResponseTypes

        public List<String> getResponseTypes()
      • isUploadKeyStore

        public boolean isUploadKeyStore()
      • getNewKSPassword

        public String getNewKSPassword()
      • setNewKSPassword

        public void setNewKSPassword​(String newKSPassword)
      • getNewKPPassword

        public String getNewKPPassword()
      • setNewKPPassword

        public void setNewKPPassword​(String newKPPassword)
      • getMapFirstName

        public String getMapFirstName()
      • setMapFirstName

        public void setMapFirstName​(String mapFirstName)
      • getMapLastName

        public String getMapLastName()
      • setMapLastName

        public void setMapLastName​(String mapLastName)
      • getMapDisplayName

        public String getMapDisplayName()
      • setMapDisplayName

        public void setMapDisplayName​(String mapDisplayName)
      • getMapUserName

        public String getMapUserName()
      • setMapUserName

        public void setMapUserName​(String mapUserName)
      • getMapMail

        public String getMapMail()
      • setMapMail

        public void setMapMail​(String mapMail)
      • getMapLocale

        public String getMapLocale()
      • setMapLocale

        public void setMapLocale​(String mapLocale)
      • getMapLocation

        public String getMapLocation()
      • setMapLocation

        public void setMapLocation​(String mapLocation)
      • getMapPictureUrl

        public String getMapPictureUrl()
      • setMapPictureUrl

        public void setMapPictureUrl​(String mapPictureUrl)
      • getMapProfileUrl

        public String getMapProfileUrl()
      • setMapProfileUrl

        public void setMapProfileUrl​(String mapProfileUrl)
      • getUuidString

        public String getUuidString()
      • setUuidString

        public void setUuidString​(String uUIDString)
      • getOidDisabledScopeTags

        public List<String> getOidDisabledScopeTags()
      • getFacebookDisabledScopeTags

        public List<String> getFacebookDisabledScopeTags()
      • uploadFile

        public void uploadFile​(org.primefaces.event.FileUploadEvent event)
      • addNewCustParameter

        public void addNewCustParameter​(ParameterModel model)
      • removeCustParameter

        public void removeCustParameter​(int idx)
      • removeMapping

        public void removeMapping​(int idx)
      • removeFileParameter

        public void removeFileParameter​(int idx)
      • isSelectionDisabled

        public boolean isSelectionDisabled​(IClientDescriptor descriptor)
      • isRedirectClient

        public boolean isRedirectClient​(IClientDescriptor descriptor)
      • save

        public void save()
        saves current configuration in selected model
      • setKeystoreFile

        public boolean setKeystoreFile​(byte[] data,
                                       String filename,
                                       String keystorePassword,
                                       String keypairPassword,
                                       boolean isCustom)
      • generateNewKeyStore

        public void generateNewKeyStore()
      • uploadCustomKeyStore

        public void uploadCustomKeyStore​(org.primefaces.event.FileUploadEvent event)
      • setIdPMetadataFile

        public void setIdPMetadataFile​(byte[] data,
                                       String filename)
      • uploadIdentityProviderMetadata

        public void uploadIdentityProviderMetadata​(org.primefaces.event.FileUploadEvent event)
      • refreshClient

        public void refreshClient()
      • getDefaultSpEntityId

        public String getDefaultSpEntityId​(E authenticator)
      • generateServiceProviderMetadata

        public void generateServiceProviderMetadata()
      • isCustom

        public boolean isCustom​(IServerModel serverModel)
      • isServerOptionsMultiSelect

        public boolean isServerOptionsMultiSelect()
      • activateConfigState

        public void activateConfigState()
      • getGeneratedKeyStoreInfos

        public String getGeneratedKeyStoreInfos()
      • updateAuthProps

        public void updateAuthProps()
        creates Attributes from selected ClientAuthenticator model
      • resetAttributes

        public void resetAttributes()
        resets all Bean attributes
      • saveTempAttributes

        public void saveTempAttributes()
      • addCustomServerOption

        public void addCustomServerOption​(String baseUrl)
      • initServerOptions

        public void initServerOptions()
      • initParameterModels

        public void initParameterModels()
      • getHtmlHelpSnippet

        public String getHtmlHelpSnippet()
      • getHelpPath

        public String getHelpPath()
      • getPluginViewURL

        public URL getPluginViewURL()
      • downloadFile

        public org.primefaces.model.StreamedContent downloadFile​(String fileAttribute)
      • downloadFile

        public org.primefaces.model.StreamedContent downloadFile​(F file)
      • getCallbackURL

        public List<String> getCallbackURL()
      • getCallbackURL

        public List<String> getCallbackURL​(boolean withClientName)
      • getEMailContent

        public String getEMailContent()
      • isCanAccessAnyStandardAuthenticators

        public boolean isCanAccessAnyStandardAuthenticators()
      • getAuthnRequestBindingTypes

        public List<String> getAuthnRequestBindingTypes()
      • getResponseBindingTypes

        public List<String> getResponseBindingTypes()
      • getOAuthProfileRequestTypes

        public List<String> getOAuthProfileRequestTypes()
      • translateAuthReq

        public String translateAuthReq​(String constant)
      • translateBindingTypes

        public String translateBindingTypes​(String constant)
      • checkConnection

        public void checkConnection()
      • showLicenseHint

        public boolean showLicenseHint​(EAuthClientType type)
      • isShowCheckConnectionBtn

        public boolean isShowCheckConnectionBtn()
      • isCheckConnectionBtnDisabled

        public boolean isCheckConnectionBtnDisabled()
      • isShowTestUserRedirectClientButton

        public boolean isShowTestUserRedirectClientButton()
      • isShowTestUserInputClientButton

        public boolean isShowTestUserInputClientButton()
      • processUpload

        protected byte[] processUpload​(org.primefaces.event.FileUploadEvent event)
      • resetProps

        protected void resetProps()
      • loadCommonData

        @PostConstruct
        protected void loadCommonData()
      • destroyPluginBeans

        @PreDestroy
        protected void destroyPluginBeans()
      • isKerberosExtensionAllowed

        public abstract boolean isKerberosExtensionAllowed​(EAuthClientType type)
      • getClientScope

        protected abstract Mandant getClientScope()
      • getCodeChallengeMethods

        public List<String> getCodeChallengeMethods()
      • getRedirectTarget

        public EAuthRedirectTarget getRedirectTarget()
        Gets the redirect behavior configured for this identity provider.

        The value is retrieved from the authenticator's internal attributes. If no specific target is configured, the system falls back to the default behavior (usually EAuthRedirectTarget._BLANK).

        Returns:
        The current redirect target
        Since:
        8.5.4
      • setRedirectTarget

        public void setRedirectTarget​(EAuthRedirectTarget target)
        Sets the preferred redirect behavior for this identity provider.

        The value is persisted in the authenticator's attribute map. If the provided target is null, no changes are applied to the existing configuration.

        Parameters:
        target - Added target behavior. The old value will be replaced
        Since:
        8.5.4
      • getAvailableRedirectTargets

        public List<EAuthRedirectTarget> getAvailableRedirectTargets()
        Returns a list of redirect targets available for selection in the UI.

        This list excludes targets that are technically deprecated or unsupported in this context.

        Returns:
        An unmodifiable list of redirect targets suitable for user selection.
        Since:
        8.5.4
      • isShowRedirectTargetSelection

        public boolean isShowRedirectTargetSelection()