mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-25 17:04:54 +00:00
This commit is contained in:
parent
5611ed7767
commit
1923591a94
@ -34,5 +34,5 @@ public class AuthConfiguration {
|
||||
|
||||
@Getter @Setter private CustomOIDCSSOClientConfig customOidc;
|
||||
|
||||
@Getter @Setter private OpenMetadataJWTClientConfig openMetadataJWTClientConfig;
|
||||
@Getter @Setter private OpenMetadataJWTClientConfig openMetadataJWT;
|
||||
}
|
||||
|
@ -85,7 +85,7 @@ public final class OpenMetadataClientSecurityUtil {
|
||||
openMetadataServerConnection.setSecurityConfig(customOIDCSSOClientConfig);
|
||||
break;
|
||||
case OPENMETADATA:
|
||||
OpenMetadataJWTClientConfig openMetadataJWTClientConfig = authConfig.getOpenMetadataJWTClientConfig();
|
||||
OpenMetadataJWTClientConfig openMetadataJWTClientConfig = authConfig.getOpenMetadataJWT();
|
||||
checkAuthConfig(openMetadataJWTClientConfig, authProvider);
|
||||
checkRequiredField(JWT_TOKEN, openMetadataJWTClientConfig.getJwtToken(), authProvider);
|
||||
openMetadataServerConnection.setSecurityConfig(openMetadataJWTClientConfig);
|
||||
|
@ -115,12 +115,12 @@ logging:
|
||||
|
||||
database:
|
||||
# the name of the JDBC driver, mysql in our case
|
||||
driverClass: com.mysql.cj.jdbc.Driver
|
||||
driverClass: ${DB_DRIVER_CLASS:com.mysql.cj.jdbc.Driver}
|
||||
# the username and password
|
||||
user: ${MYSQL_USER:-openmetadata_user}
|
||||
password: ${MYSQL_USER_PASSWORD:-openmetadata_password}
|
||||
# the JDBC URL; the database is called openmetadata_db
|
||||
url: jdbc:mysql://${MYSQL_HOST:-localhost}:${MYSQL_PORT:-3306}/${MYSQL_DATABASE:-openmetadata_db}?allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=UTC
|
||||
url: jdbc:${DB_SCHEME:-mysql}://${MYSQL_HOST:-localhost}:${MYSQL_PORT:-3306}/${MYSQL_DATABASE:-openmetadata_db}?allowPublicKeyRetrieval=true&useSSL=${DB_USE_SSL:-false}&serverTimezone=UTC
|
||||
|
||||
migrationConfiguration:
|
||||
path: "./bootstrap/sql"
|
||||
@ -196,6 +196,8 @@ airflowConfiguration:
|
||||
clientId: ${OM_AUTH_AIRFLOW_CUSTOM_OIDC_CLIENT_ID:-""}
|
||||
secretKey: ${OM_AUTH_AIRFLOW_CUSTOM_OIDC_SECRET_KEY_PATH:-""}
|
||||
tokenEndpoint: ${OM_AUTH_AIRFLOW_CUSTOM_OIDC_TOKEN_ENDPOINT_URL:-""}
|
||||
openMetadataJWT:
|
||||
jwtToken: ${OM_AUTH_JWT_TOKEN:-""}
|
||||
|
||||
slackEventPublishers:
|
||||
- name: "slack events"
|
||||
|
Loading…
x
Reference in New Issue
Block a user