/** * @return Configuration directory. {@link Scripting} searches for dynamic resources here. * Must not end with "/" */ @Property("cuba.confDir") String getConfDir();
/** * @return Directory with fonts for generate PDF from HTML */ @Property("reporting.fontsDir") String getPdfFontsDirectory();
/** * @return user that is used to connect to LDAP server. * For instance: cn=System User,ou=Employees,dc=mycompany,dc=com */ @Property("cuba.rest.ldap.user") String getLdapUser();
/** * @return password that is used to connect to LDAP server */ @Property("cuba.rest.ldap.password") String getLdapPassword();
/** * @return trusted password of middleware */ @Property("cuba.trustedClientPassword") String getTrustedClientPassword();
/** * @return Data directory. Place persistent app-specific data files here. * Must not end with "/" */ @Property("cuba.dataDir") String getDataDir();
/** * @return user that is used to connect to LDAP server. * For instance: cn=System User,ou=Employees,dc=mycompany,dc=com */ @Property("cuba.web.ldap.user") String getLdapUser();
/** * User password for the SMTP server authentication. */ @Property("cuba.email.smtpPassword") String getSmtpPassword();
/** * @return Logs directory. Place app-specific log files here. * Must not end with "/" */ @Property("cuba.logDir") String getLogDir();
/** * @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();