Class XfcConfigDefaults.Application

  • Enclosing class:
    XfcConfigDefaults

    public static final class XfcConfigDefaults.Application
    extends Object
    Default values for the various settings in the application.properties configuration file.
    Author:
    XIMA MEDIA GmbH
    • Field Detail

      • GLOBAL_DBQUERY_ROW_LIMIT

        public static final int GLOBAL_DBQUERY_ROW_LIMIT
        See Also:
        Constant Field Values
      • GLOBAL_DBQUERY_SIZE_LIMIT

        public static final int GLOBAL_DBQUERY_SIZE_LIMIT
        See Also:
        Constant Field Values
      • SESSION_COOKIE_SECURE_ADD

        public static final String SESSION_COOKIE_SECURE_ADD
        Add the secure flag on the session cookie (HTTPS-only), whether already present or not.
        See Also:
        Constant Field Values
      • SESSION_COOKIE_SECURE_REMOVE

        public static final String SESSION_COOKIE_SECURE_REMOVE
        Remove the secure flag on the session cookie (HTTPS-only), whether already present or not.
        See Also:
        Constant Field Values
      • SESSION_COOKIE_SECURE_KEEP

        public static final String SESSION_COOKIE_SECURE_KEEP
        Do not change the secure flag on the session cookie at all.
        See Also:
        Constant Field Values
      • SESSION_COOKIE_SECURE_ADD_IF_SAME_SITE_NONE

        public static final String SESSION_COOKIE_SECURE_ADD_IF_SAME_SITE_NONE
        Add the secure flag when also setting SameSite=None. Otherwise, do not make any changes. Note that HTTPS detection may not be reliable when using a proxy.
        See Also:
        Constant Field Values
      • SESSION_COOKIE_SECURE_ADD_IF_SAME_SITE_NONE_AND_SECURE

        public static final String SESSION_COOKIE_SECURE_ADD_IF_SAME_SITE_NONE_AND_SECURE
        Add the secure flag when the connection is made via HTTP(s) and also setting SameSite=None. Otherwise, do not make any changes.
        See Also:
        Constant Field Values
      • SESSION_COOKIE_SAME_SITE_NONE

        public static final String SESSION_COOKIE_SAME_SITE_NONE
        Set SameSite=None on the session cookie.
        See Also:
        Constant Field Values
      • SESSION_COOKIE_SAME_SITE_NONE_IF_SECURE

        public static final String SESSION_COOKIE_SAME_SITE_NONE_IF_SECURE
        Set SameSite=None on the session cookie.
        See Also:
        Constant Field Values
      • SESSION_COOKIE_SAME_SITE_LAX

        public static final String SESSION_COOKIE_SAME_SITE_LAX
        Set SameSite=Lax on the session cookie.
        See Also:
        Constant Field Values
      • SESSION_COOKIE_SAME_SITE_STRICT

        public static final String SESSION_COOKIE_SAME_SITE_STRICT
        Set SameSite=Strict on the session cookie.
        See Also:
        Constant Field Values
      • SESSION_COOKIE_OMIT_SAME_SITE_NONE_ON_UNSUPPORTED_BROWSERS

        public static final boolean SESSION_COOKIE_OMIT_SAME_SITE_NONE_ON_UNSUPPORTED_BROWSERS
        Some old browsers reject cookies with SameSite=None. When set to true, attempt to read the user agent and omit the flag if the user agent has this bug. Note that user agent detection is error prone and may or may not work.
        See Also:
        Constant Field Values
      • SYSTEM_URL_HELP

        public static final String SYSTEM_URL_HELP
        Default value to the help pages, e.g. https://help7.formcycle.eu
        See Also:
        Constant Field Values
      • SYSTEM_URL_HELP_WIDGET

        public static final String SYSTEM_URL_HELP_WIDGET
        Default value for the help widget.
        See Also:
        Constant Field Values
      • SYSTEM_URL_QA

        public static final String SYSTEM_URL_QA
        Default value to the questions & answers page, e.g. https://faq.formcycle.eu/
        See Also:
        Constant Field Values
      • SYSTEM_URL_REGISTER

        public static final String SYSTEM_URL_REGISTER
        Default URL to the page for signing up for a new account, e.g. https://www.form.cloud. Must be empty as not all installations are run by a single company.
        See Also:
        Constant Field Values
      • SYSTEM_URL_PRIVACY

        public static final String SYSTEM_URL_PRIVACY
        Default value for the privacy agreement, e.g. https://formcycle.de/en/data-protection. Must be empty as not all installations are run by a single company.
        See Also:
        Constant Field Values
      • SYSTEM_URL_FORM_STORE

        public static final String SYSTEM_URL_FORM_STORE
        Default value for the URL to the form store that lets users browser for forms they want to install.
        See Also:
        Constant Field Values
      • SYSTEM_URL_IMPRINT

        public static final String SYSTEM_URL_IMPRINT
        Default value for the URL to the imprint, e.g. https://formcycle.de/en/imprint. Must be empty as not all installations are run by a single company.
        See Also:
        Constant Field Values
      • SYSTEM_URL_TERMS_OF_USE

        public static final String SYSTEM_URL_TERMS_OF_USE
        Default value for the terms of use. Must be empty as not all installations are run by a single company.
        See Also:
        Constant Field Values
      • SYSTEM_URL_LICENSE

        public static final String SYSTEM_URL_LICENSE
        Default value for the licensing conditions link, e.g. https://formcycle.de/de/lizenzbedingungen. Must be empty as not all installations are run by a single company.
        See Also:
        Constant Field Values
      • LICENSE_SEND_SYSTEM_INFO

        public static final boolean LICENSE_SEND_SYSTEM_INFO
        See Also:
        Constant Field Values
      • SYSTEM_HEADER_HTTP_STRICT_TRANSPORT_SECURITY

        public static final String SYSTEM_HEADER_HTTP_STRICT_TRANSPORT_SECURITY
        See Also:
        Constant Field Values
      • SYSTEM_HEADER_BACKEND_X_FRAME_OPTIONS

        public static final String SYSTEM_HEADER_BACKEND_X_FRAME_OPTIONS
        See Also:
        Constant Field Values
      • SYSTEM_HEADER_CONTENT_SECURITY_POLICY_BACKEND

        public static final String SYSTEM_HEADER_CONTENT_SECURITY_POLICY_BACKEND
        Default value for the application property that controls which Content-Security-Policy header to set in the backend.
        See Also:
        Constant Field Values
      • SYSTEM_HEADER_CONTENT_SECURITY_POLICY_REPORT_ONLY_BACKEND

        public static final String SYSTEM_HEADER_CONTENT_SECURITY_POLICY_REPORT_ONLY_BACKEND
        Default value for the application property that controls which Content-Security-Policy-Report-Only header to set in the backend.
        See Also:
        Constant Field Values
      • SYSTEM_HEADER_CONTENT_SECURITY_POLICY_FRONTEND

        public static final String SYSTEM_HEADER_CONTENT_SECURITY_POLICY_FRONTEND
        Default value for the application property that controls which Content-Security-Policy header to set in the frontend.
        See Also:
        Constant Field Values
      • SYSTEM_HEADER_CONTENT_SECURITY_POLICY_REPORT_ONLY_FRONTEND

        public static final String SYSTEM_HEADER_CONTENT_SECURITY_POLICY_REPORT_ONLY_FRONTEND
        Default value for the application property that controls which Content-Security-Policy-Report-Only header to set in the frontend.
        See Also:
        Constant Field Values
      • SYSTEM_BACKEND_HTTP_METHODS_NOT_ALLOWED

        public static final boolean SYSTEM_BACKEND_HTTP_METHODS_NOT_ALLOWED
        See Also:
        Constant Field Values
      • SYSTEM_PROJECT_INBOX_VALUE_MAX_SIZE

        public static final Integer SYSTEM_PROJECT_INBOX_VALUE_MAX_SIZE
      • GLOBAL_UPLOAD_LIMIT

        public static final Long GLOBAL_UPLOAD_LIMIT
      • GLOBAL_UPLOAD_LIMIT_TOTAL

        public static final Long GLOBAL_UPLOAD_LIMIT_TOTAL
      • GLOBAL_PARAMETERPARSER_ITEMSIZETHRESHOLD

        public static final Integer GLOBAL_PARAMETERPARSER_ITEMSIZETHRESHOLD
      • FORM_PREVIEW_POOL_TIMEOUT

        public static final long FORM_PREVIEW_POOL_TIMEOUT
        See Also:
        Constant Field Values
      • FORM_PREVIEW_POOL_TIMEOUT_CHECK

        public static final long FORM_PREVIEW_POOL_TIMEOUT_CHECK
        See Also:
        Constant Field Values
      • FORM_PREVIEW_POOL_MAX_INSTANCES

        public static final int FORM_PREVIEW_POOL_MAX_INSTANCES
        See Also:
        Constant Field Values
      • FORM_PREVIEW_POOL_MIN_INSTANCES

        public static final int FORM_PREVIEW_POOL_MIN_INSTANCES
        See Also:
        Constant Field Values
      • PROCESSING_ACTIONS_LIMIT

        public static final int PROCESSING_ACTIONS_LIMIT
        See Also:
        Constant Field Values
      • PROCESSING_SINGLE_ACTION_LIMIT

        public static final int PROCESSING_SINGLE_ACTION_LIMIT
        See Also:
        Constant Field Values
      • FORM_RECORD_LOCK_POLL_INTERVAL_MILLIS

        public static final long FORM_RECORD_LOCK_POLL_INTERVAL_MILLIS
        See Also:
        Constant Field Values
      • FORM_RECORD_LOCK_TIMEOUT_MILLIS

        public static final long FORM_RECORD_LOCK_TIMEOUT_MILLIS
        See Also:
        Constant Field Values
      • FORM_RECORD_LOCK_MAX_DURATION_SECONDS

        public static final long FORM_RECORD_LOCK_MAX_DURATION_SECONDS
        See Also:
        Constant Field Values
      • BOT_FIELD_AUTOCOMPLETE

        public static final String BOT_FIELD_AUTOCOMPLETE
        Default value for the application property that controls the autocomplete attribute of the invisible bot field. See BOT_FIELD_AUTOCOMPLETE for more details.
        See Also:
        Constant Field Values
      • TIMED_WORKFLOW_TRIGGER_MAX_RETRY_COUNT

        public static final long TIMED_WORKFLOW_TRIGGER_MAX_RETRY_COUNT
        See Also:
        Constant Field Values
      • TIMED_WORKFLOW_TRIGGER_INITIAL_RETRY_DELAY_MILLIS

        public static final long TIMED_WORKFLOW_TRIGGER_INITIAL_RETRY_DELAY_MILLIS
        See Also:
        Constant Field Values
      • TIMED_WORKFLOW_TRIGGER_IMMEDIATE_DELAY_MILLIS

        public static final long TIMED_WORKFLOW_TRIGGER_IMMEDIATE_DELAY_MILLIS
        See Also:
        Constant Field Values
      • WORKFLOW_PROCESSING_ENABLE_SQL_STATEMENT

        public static final boolean WORKFLOW_PROCESSING_ENABLE_SQL_STATEMENT
        See Also:
        Constant Field Values
      • FRAME_INTEGRATION_ALLOWED_FOR_URLS

        public static final boolean FRAME_INTEGRATION_ALLOWED_FOR_URLS
        See Also:
        Constant Field Values
      • SHOW_PASSWORD_LINK

        public static final boolean SHOW_PASSWORD_LINK
        Default value for the whether the password forgotten link should be shown on the login page.
        See Also:
        Constant Field Values
      • SHOW_LOGO

        public static final boolean SHOW_LOGO
        Default value for the whether the formcycle logo should be shown in backend pages.
        See Also:
        Constant Field Values
      • SHOW_LOGIN_FOOTER

        public static final boolean SHOW_LOGIN_FOOTER
        Default value for the whether the footer of the login form should be displayed.
        See Also:
        Constant Field Values
      • SHOW_LICENSE_LINK

        public static final boolean SHOW_LICENSE_LINK
        Default value for the whether the link to the license agreement should shown on the login page.
        See Also:
        Constant Field Values
      • SHOW_IMPRINT_LINK

        public static final boolean SHOW_IMPRINT_LINK
        Default value for the whether the link to the imprint should shown on the login page.
        See Also:
        Constant Field Values
      • SHOW_HELP_LINK

        public static final boolean SHOW_HELP_LINK
        Default value for the whether a link to the help pages should be shown for backend pages.
        See Also:
        Constant Field Values
      • SHOW_FAQ_LINK

        public static final boolean SHOW_FAQ_LINK
        Default value for the whether the link to the FAQ page should be shown for backend pages
        See Also:
        Constant Field Values
      • SHOW_PRIVACY_LINK

        public static final boolean SHOW_PRIVACY_LINK
        Default value for the whether the link to the privacy terms should shown on the login page.
        See Also:
        Constant Field Values
      • SHOW_REGISTER_LINK

        public static final boolean SHOW_REGISTER_LINK
        Default value for the whether the link to sign up for a new account should be shown on the login page.
        See Also:
        Constant Field Values
      • SHOW_TERMS_LINK

        public static final boolean SHOW_TERMS_LINK
        Default value for the whether the link to the license agreement should shown on the login page.
        See Also:
        Constant Field Values
      • SHOW_VERSION

        public static final boolean SHOW_VERSION
        Default value for the whether the formcycle version should be shown in backend pages.
        See Also:
        Constant Field Values
      • SYSTEM_HEADER_HTTP_STRICT_TRANSPORT_SECURITY_SUBDOMAIN

        public static final boolean SYSTEM_HEADER_HTTP_STRICT_TRANSPORT_SECURITY_SUBDOMAIN
        Default value for the whether the strict transport security sub domain header should be set.
        See Also:
        Constant Field Values
      • SYSTEM_URL_LOOPBACK_BASE

        public static final String SYSTEM_URL_LOOPBACK_BASE
        Default value for the loopback URL that the server can use to access itself.
        See Also:
        Constant Field Values
      • MAIL_SMTP_CONNECTION_TIMEOUT

        public static final int MAIL_SMTP_CONNECTION_TIMEOUT
        SMTP Socket connection timeout default value in milliseconds
        See Also:
        Constant Field Values
      • MAIL_SMTP_TIMEOUT

        public static final int MAIL_SMTP_TIMEOUT
        SMTP Socket I/O timeout default value in milliseconds
        See Also:
        Constant Field Values
      • PROMA_PLUGIN_STORE_KEY

        public static final String PROMA_PLUGIN_STORE_KEY
        Default value for the key of the plugin store, which provides all plugins via Proma.
        See Also:
        Constant Field Values
      • PLUGIN_UPDATE_CHECK_ACTIVE

        public static final boolean PLUGIN_UPDATE_CHECK_ACTIVE
        Default value for the whether the plugin update check is active.
        See Also:
        Constant Field Values
      • PLUGIN_UNPACK_JAR_FILE

        public static final boolean PLUGIN_UNPACK_JAR_FILE
        Default value for whether JAR files are unpacked to a separate folder on the file system.
        See Also:
        Constant Field Values
      • PROMA_DEFAULT_SINGLE_REQUEST_TIMEOUT

        public static final long PROMA_DEFAULT_SINGLE_REQUEST_TIMEOUT
        Default value for the default single request timeout to the PROMA API, in seconds.
        See Also:
        Constant Field Values
      • DEFAULT_BINARY_REQUEST_TIMEOUT

        public static final long DEFAULT_BINARY_REQUEST_TIMEOUT
        Default value for the default single binary request timeout to the PROMA API, in seconds.
        See Also:
        Constant Field Values
      • DEFAULT_COMBINED_REQUEST_TIMEOUT

        public static final long DEFAULT_COMBINED_REQUEST_TIMEOUT
        Default value for the default combined request timeout to the PROMA API, in seconds.
        See Also:
        Constant Field Values
      • SYSTEM_LOGIN_GLOBAL_REDIRECT_TARGET

        public static final String SYSTEM_LOGIN_GLOBAL_REDIRECT_TARGET
      • SYSTEM_LOGIN_CREDENTIALS_EXPIRE_INTERVAL_IN_DAYS

        public static final int SYSTEM_LOGIN_CREDENTIALS_EXPIRE_INTERVAL_IN_DAYS
        How many days until passwords expire within the system after they have been set initially. 0 means passwords don't expire.
        See Also:
        Constant Field Values
      • SYSTEM_FORCE_MULTI_FACTOR_AUTHENTICATION

        public static final boolean SYSTEM_FORCE_MULTI_FACTOR_AUTHENTICATION
        Whether or not to force MFA for users.
        See Also:
        Constant Field Values
      • SYSTEM_MULTI_FACTOR_AUTHENTICATION_INTERVAL_DAYS

        public static final int SYSTEM_MULTI_FACTOR_AUTHENTICATION_INTERVAL_DAYS
        Default interval (days) for which user profile user may save the MFA
        See Also:
        Constant Field Values
      • SYSTEM_MULTI_FACTOR_AUTHENTICATION_ALLOW_RECOVERY

        public static final boolean SYSTEM_MULTI_FACTOR_AUTHENTICATION_ALLOW_RECOVERY
        Whether or not the user may be able to recover their user account if the MFA token was lost. If false the user needs to turn to the system administrator to reset the MFA.
        See Also:
        Constant Field Values
      • SYSTEM_LOGIN_SUPER_USER_LOGIN_ACITVE

        public static final boolean SYSTEM_LOGIN_SUPER_USER_LOGIN_ACITVE
        Whether or not the super user can sign in via the WELCOME page (/).
        See Also:
        Constant Field Values
      • USER_DISCOVERY_ENABLED

        public static final boolean USER_DISCOVERY_ENABLED
        Boolean value that determines whether or not user discovery is enabled. If enabled when searching for users for e.g. client invitations then user suggestions will be provided.
        See Also:
        Constant Field Values
      • FACES_HTTP_CHUNK_SIZE_BYTES

        public static final Long FACES_HTTP_CHUNK_SIZE_BYTES
      • FACES_HTTP_PACKET_SIZE_BYTES

        public static final Long FACES_HTTP_PACKET_SIZE_BYTES
      • PLUGIN_UPDATE_CHECK_INTERVAL_SECONDS

        public static final long PLUGIN_UPDATE_CHECK_INTERVAL_SECONDS
        Default time in seconds between two consecutive plugin update checks. Used to limit the number of update checks.
        See Also:
        Constant Field Values
      • AUTH_CLIENT_CACHE_TIME_TO_IDLE

        public static final long AUTH_CLIENT_CACHE_TIME_TO_IDLE
        Default value for the atuh client cache Time-To-Idle.
        See Also:
        Constant Field Values
      • AUTH_CLIENT_CACHE_HEAP_COUNT

        public static final long AUTH_CLIENT_CACHE_HEAP_COUNT
        Default value for the atuh client cache heap count.
        See Also:
        Constant Field Values
      • WEBSOCKET_KEEP_ALIVE_SECONDS

        public static final long WEBSOCKET_KEEP_ALIVE_SECONDS
        Default value for the interval for the websocket keep alive ping message, in seconds.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Application

        public Application()