@Default("22") public Integer getPort() { return port; }
/** * @return Field of LDAP object for user login matching. */ @Property("cuba.web.ldap.userLoginField") @DefaultString("sAMAccountName") String getLdapUserLoginField(); }
/** * 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 an action to force login. * <br> An action is represented by the last part of URL. */ @Property("cuba.web.loginAction") @DefaultString("login") String getLoginAction();
/** * @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 Maximum number of items stored in the {@link com.haulmont.cuba.web.log.AppLog} queue */ @Property("cuba.web.appLogMaxItemsCount") @DefaultInt(10) int getAppLogMaxItemsCount();
/** * @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();
/** * @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();
/** * SMTP I/O timeout value in seconds. */ @Property("cuba.email.smtpTimeoutSec") @DefaultInt(60) int getSmtpTimeoutSec();
/** * @return Path to the installed OpenOffice */ @Property("reporting.openoffice.path") @DefaultString("/") String getOpenOfficePath();
/** * Whether to use STARTTLS command during the SMTP server authentication. */ @Property("cuba.email.smtpStarttlsEnable") @DefaultBoolean(false) boolean getSmtpStarttlsEnable();
/** * 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 The list of ports to start OpenOffice on. */ @Property("reporting.openoffice.ports") @DefaultString("8100|8101|8102|8103") String getOpenOfficePorts();
/** * If set to true, use SSL to connect * */ @Property("cuba.email.smtpSslEnabled") @DefaultBoolean(false) boolean getSmtpSslEnabled();
/** * @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(); }
/** * Reporting uses CURL tool to generate reports from URL. This the string with parameters used while calling CURL. */ @Property("reporting.curl.params") @DefaultString("") String getCurlParams(); void setCurlParams(String value);
/** * @return Has to be true if using OpenOffice reporting formatter on a *nix server without X server running */ @Property("reporting.displayDeviceUnavailable") @DefaultBoolean(false) boolean getDisplayDeviceUnavailable();
/** * @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);