mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
* CB-4491 password policy config api * CB-4491 move policy config to sm * CB-4491 cb config fix * CB-4264 add password policy * CB-4491 deserialization fix * CB-4491 deserialization fix * CB-4264 add title * CB-4264 rename params * CB-4264 fix naming * CB-4264 accept any language --------- Co-authored-by: naumov <iamemptyhuh@gmail.com> Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
81 lines
2.3 KiB
Plaintext
81 lines
2.3 KiB
Plaintext
{
|
|
server: {
|
|
serverPort: 8978,
|
|
|
|
workspaceLocation: "workspace",
|
|
contentRoot: "web",
|
|
driversLocation: "drivers",
|
|
|
|
rootURI: "/",
|
|
serviceURI: "/api/",
|
|
|
|
productConfiguration: "conf/product.conf",
|
|
|
|
expireSessionAfterPeriod: 1800000,
|
|
|
|
develMode: false,
|
|
|
|
enableSecurityManager: false,
|
|
|
|
database: {
|
|
driver="h2_embedded_v2",
|
|
url: "jdbc:h2:${workspace}/.data/cb.h2v2.dat",
|
|
initialDataConfiguration: "conf/initial-data.conf",
|
|
pool: {
|
|
minIdleConnections: 4,
|
|
maxIdleConnections: 10,
|
|
maxConnections: 100,
|
|
validationQuery: "SELECT 1"
|
|
}
|
|
},
|
|
sm: {
|
|
enableBruteForceProtection: "${CLOUDBEAVER_BRUTE_FORCE_PROTECTION_ENABLED:true}",
|
|
maxFailedLogin: "${CLOUDBEAVER_MAX_FAILED_LOGINS:10}",
|
|
minimumLoginTimeout: "${CLOUDBEAVER_MINIMUM_LOGIN_TIMEOUT:1}",
|
|
blockLoginPeriod: "${CLOUDBEAVER_BLOCK_PERIOD:300}",
|
|
passwordPolicy: {
|
|
minLength: "${CLOUDBEAVER_POLICY_MIN_LENGTH:8}",
|
|
requireMixedCase: "${CLOUDBEAVER_POLICY_REQUIRE_MIXED_CASE:true}",
|
|
minNumberCount: "${CLOUDBEAVER_POLICY_MIN_NUMBER_COUNT:1}",
|
|
minSymbolCount: "${CLOUDBEAVER_POLICY_MIN_SYMBOL_COUNT:0}"
|
|
}
|
|
}
|
|
|
|
},
|
|
app: {
|
|
anonymousAccessEnabled: true,
|
|
anonymousUserRole: "user",
|
|
grantConnectionsAccessToAnonymousTeam: false,
|
|
supportsCustomConnections: false,
|
|
showReadOnlyConnectionInfo: false,
|
|
|
|
forwardProxy: false,
|
|
|
|
publicCredentialsSaveEnabled: true,
|
|
adminCredentialsSaveEnabled: true,
|
|
|
|
resourceManagerEnabled: true,
|
|
|
|
resourceQuotas: {
|
|
dataExportFileSizeLimit: 10000000,
|
|
resourceManagerFileSizeLimit: 500000,
|
|
sqlMaxRunningQueries: 100,
|
|
sqlResultSetRowsLimit: 100000,
|
|
sqlResultSetMemoryLimit: 2000000,
|
|
sqlTextPreviewMaxLength: 4096,
|
|
sqlBinaryPreviewMaxLength: 261120
|
|
},
|
|
enabledAuthProviders: [
|
|
"local"
|
|
],
|
|
|
|
disabledDrivers: [
|
|
"h2:h2_embedded",
|
|
"h2:h2_embedded_v2",
|
|
"clickhouse:yandex_clickhouse"
|
|
]
|
|
|
|
}
|
|
|
|
}
|