/** * @return Configuration directory. {@link Scripting} searches for dynamic resources here. * Must not end with "/" */ @Property("cuba.confDir") String getConfDir();
/** * @return Field of LDAP object for user login matching. */ @Property("cuba.web.ldap.userLoginField") @DefaultString("sAMAccountName") String getLdapUserLoginField(); }
/** * @return an action to force login. * <br> An action is represented by the last part of URL. */ @Property("cuba.web.loginAction") @DefaultString("login") String getLoginAction();
/** * Reinitialize session after login to protect from Session Fixation attacks. */ @Property("cuba.web.useSessionFixationProtection") @DefaultBoolean(true) boolean getUseSessionFixationProtection();
/** * Sets the page length for Table implementation - count of rows for first rendering of Table. After first partial * rendering Table will request rest of rows from the server. * <br> * Setting page length 0 disables paging. * <br> * If Table has fixed height the client side may update the page length automatically the correct value. */ @Property("cuba.web.table.pageLength") @DefaultInt(15) int getTablePageLength();
/** * @return Maximum number of items stored in the {@link com.haulmont.cuba.web.log.AppLog} queue */ @Property("cuba.web.appLogMaxItemsCount") @DefaultInt(10) int getAppLogMaxItemsCount();
/** * @return true if Web Client closes the UIs and the session after the {@link #getHttpSessionExpirationTimeoutSec()} * expires after the last non-heartbeat request. */ @Property("cuba.web.closeIdleHttpSessions") @DefaultBoolean(false) boolean getCloseIdleHttpSessions();
/** * @return true if device width is used as view port width. Affects "viewport" meta tag of Vaadin HTML pages. */ @Property("cuba.web.useDeviceWidthForViewport") @DefaultBoolean(false) boolean getUseDeviceWidthForViewport();
/** * Defines which screen should be opened after login. This setting will be applied to all users. */ @Property("cuba.web.defaultScreenId") @Source(type = SourceType.DATABASE) String getDefaultScreenId(); void setDefaultScreenId(String screenId);
/** * @return Path to the exception report email body template. */ @Property("cuba.email.exceptionReportEmailTemplateBody") @Default("/com/haulmont/cuba/core/app/exceptionemail/exception-report-template-body.gsp") String getExceptionReportEmailBodyTemplate();
/** * <= 16 symbols string, used as key for AES encryption of security token */ @Property("cuba.keyForSecurityTokenEncryption") @DefaultString("CUBA.Platform") String getKeyForSecurityTokenEncryption();
/** * Whether to use STARTTLS command during the SMTP server authentication. */ @Property("cuba.email.smtpStarttlsEnable") @DefaultBoolean(false) boolean getSmtpStarttlsEnable();
/** * If set to true, use SSL to connect * */ @Property("cuba.email.smtpSslEnabled") @DefaultBoolean(false) boolean getSmtpSslEnabled();
/** * SMTP I/O timeout value in seconds. */ @Property("cuba.email.smtpTimeoutSec") @DefaultInt(60) int getSmtpTimeoutSec();
/** * Max number of attempts to send a message, after which the message's status is set to NOT_SENT. */ @Property("cuba.email.defaultSendingAttemptsCount") @DefaultInt(10) int getDefaultSendingAttemptsCount();
/** * @return Maximum queue capacity which is used by executor to store messages to the cluster members. By default is unbounded */ @Property("cuba.cluster.messageSendingQueueCapacity") @DefaultInt(Integer.MAX_VALUE) int getClusterMessageSendingQueueCapacity(); }
/** * @return Default maximum number of entity instances of certain type in database, after which a lazy * collection datasource will be used. This parameter is taken into account only if entity statistics has been * gathered and if the datasource has fetchMode="LAZY". */ @Property("cuba.defaultLazyCollectionThreshold") @DefaultInt(100) int getDefaultLazyCollectionThreshold(); void setDefaultLazyCollectionThreshold(int value);
/** * Defines whether default screen can be closed or not when TABBED work area mode is used. */ @Property("cuba.web.defaultScreenCanBeClosed") @Source(type = SourceType.DATABASE) @DefaultBoolean(true) boolean getDefaultScreenCanBeClosed(); void setDefaultScreenCanBeClosed(boolean value);
/** * Enables to configure whether web resources should be cached or not. * <p> * Zero cache time disables caching at all. * * @return web resources cache time in seconds */ @Property("cuba.web.resourcesCacheTime") @Source(type = SourceType.APP) @DefaultLong(60 * 60) long getWebResourcesCacheTime();
/** * Disable ESCAPE in queries with LIKE for specified data stores. */ @Property("cuba.disableEscapingLikeForDataStores") @Source(type = SourceType.DATABASE) @Factory(factory = CommaSeparatedStringListTypeFactory.class) @Stringify(stringify = CommaSeparatedStringListStringify.class) List<String> getDisableEscapingLikeForDataStores(); }