/** * @deprecated Use {@link LoginProvider} and/or {@link HttpRequestFilter} instead. * * @return external authentication provider */ @Deprecated @Property("cuba.web.externalAuthenticationProviderClass") @DefaultString("com.haulmont.cuba.web.auth.NoOpAuthProvider") String getExternalAuthenticationProviderClass();
/** * @return Password used by LoginService.loginTrusted() method. * Trusted client may login without providing a user password. This is used for external authentication. * * <p>Must be equal to password set for the same property on the client.</p> */ @Property("cuba.trustedClientPassword") @DefaultString("") String getTrustedClientPassword();
/** * @return This web application context name. Makes sense for CORE and WEB modules. */ @Property("cuba.webContextName") @DefaultString("cuba") String getWebContextName();
/** * @return initial scale of HTML page if cuba.web.customDeviceWidthForViewport is set or cuba.web.useDeviceWidthForViewport is true. * Affects "viewport" meta tag of Vaadin HTML pages. */ @Property("cuba.web.pageInitialScale") @DefaultString("0.8") String getPageInitialScale();
/** * @return Field of LDAP object for user login matching. */ @Property("cuba.idp.ldap.userLoginField") @DefaultString("sAMAccountName") String getLdapUserLoginField();
/** * @return Password used by LoginService.loginTrusted() method. * Trusted client may login without providing a user password. This is used for external authentication. * * <p>Must be equal to password set for the same property on the CORE.</p> */ @Property("cuba.trustedClientPassword") @DefaultString("") String getTrustedClientPassword();
/** * @return This web application host name. Makes sense for CORE and WEB modules. */ @Property("cuba.webHostName") @DefaultString("localhost") String getWebHostName();
/** * @return This web application port. Makes sense for CORE and WEB modules. */ @Property("cuba.webPort") @DefaultString("8080") String getWebPort();
/** * @return Password used by {@link TrustedClientService} method. * Trusted client may login without providing a user password. This is used for external authentication. * * <p>Must be equal to password set for the same property on the CORE.</p> */ @Property("cuba.trustedClientPassword") @DefaultString("") String getTrustedClientPassword();
/** * @return Context of the middleware file download controller. */ @Property("cuba.fileDownloadContext") @DefaultString("/download") String getFileDownloadContext();
/** * @return Context of the middleware file upload controller. */ @Property("cuba.fileUploadContext") @DefaultString("/upload") String getFileUploadContext();
/** * @deprecated map provider functionality is deprecated. MapViewer component is tightly bound with Google Map implementation. */ @Deprecated @Property("charts.map.provider") @DefaultString("google") String getMapsProvider(); void setMapsProvider(String key);
/** * @return password of a user that is authorized to open monitoring dashboard */ @Property("cubajm.authorizedUserPassword") @DefaultString("admin") String getAuthorizedUserPassword();
/** * Reporting uses CURL tool to generate reports from URL. This is the system path to the tool. */ @Property("reporting.curl.path") @DefaultString("curl") String getCurlPath(); void setCurlPath(String value);
/** * DEPRECATED as obsolete. * @return REST API connection URL */ @Deprecated @Property("cuba.restApiUrl") @Source(type = SourceType.DATABASE) @DefaultString("http://localhost:8080/app-portal/api") String getRestApiUrl();
/** * @return The regular expression which is used by password policy (see also {@code cuba.passwordPolicyEnabled}). */ @Property("cuba.passwordPolicyRegExp") @Source(type = SourceType.DATABASE) @DefaultString("((?=.*\\d)(?=.*\\p{javaLowerCase})(?=.*\\p{javaUpperCase}).{6,20})") String getPasswordPolicyRegExp();
/** * @return System ID. Use for identification (support emails). */ @Property("cuba.systemId") @DefaultString("CUBA") @Source(type = SourceType.DATABASE) String getSystemID();
/** * @return Web-client connection URL. Used for making external links to the application screens and for other purposes. */ @Property("cuba.webAppUrl") @Source(type = SourceType.DATABASE) @DefaultString("http://localhost:8080/app") String getWebAppUrl();
/** * Entity properties that will not to be excluded by {@code reporting.wizardPropertiesBlackList} setting * @see com.haulmont.reports.ReportingConfig#getWizardPropertiesBlackList() */ @Property("reporting.wizardPropertiesExcludedBlackList") @Source(type = SourceType.DATABASE) @DefaultString("") @Factory(factory = CommaSeparatedStringListTypeFactory.class) List<String> getWizardPropertiesExcludedBlackList();
@Source(type = SourceType.APP) @Property("cuba.web.standardAuthenticationUsers") @Factory(factory = CommaSeparatedStringListTypeFactory.class) @DefaultString("admin,anonymous") List<String> getStandardAuthenticationUsers();