This is an automated email from the ASF dual-hosted git repository.
maciej pushed a change to branch java-clients-unification
in repository https://gitbox.apache.org/repos/asf/iggy.git
from 8ecb22624 Merge branch 'master' into java-clients-unification
add 25dcd7634 refactor(repo): wrap credentials in SecretString to prevent
leaks (#2931)
add d40cfadfa Merge branch 'master' into java-clients-unification
No new revisions were added by this update.
Summary of changes:
Cargo.lock | 14 +++
Cargo.toml | 1 +
core/cli/Cargo.toml | 1 +
.../create_personal_access_token.rs | 7 +-
core/cli/src/commands/binary_system/login.rs | 3 +-
core/cli/src/commands/binary_users/create_user.rs | 18 ++--
core/cli/src/credentials.rs | 43 +++++----
core/common/Cargo.toml | 1 +
.../login_with_personal_access_token.rs | 44 ++++++---
core/common/src/commands/users/change_password.rs | 82 +++++++++++-----
core/common/src/commands/users/create_user.rs | 59 +++++++++---
core/common/src/commands/users/login_user.rs | 65 +++++++++----
core/common/src/lib.rs | 1 +
.../traits/binary_impls/personal_access_tokens.rs | 3 +-
core/common/src/traits/binary_impls/users.rs | 9 +-
core/common/src/traits/binary_mapper.rs | 5 +-
.../types/configuration/auth_config/auto_login.rs | 2 +-
.../configuration/auth_config/connection_string.rs | 44 +++++----
.../types/configuration/auth_config/credentials.rs | 25 ++++-
.../src/types/permissions/personal_access_token.rs | 16 +++-
core/common/src/types/user/user_identity_info.rs | 17 +++-
core/common/src/utils/mod.rs | 1 +
core/common/src/utils/serde_secret.rs | 106 +++++++++++++++++++++
core/connectors/runtime/Cargo.toml | 1 +
core/connectors/runtime/src/api/auth.rs | 5 +-
core/connectors/runtime/src/api/config.rs | 28 ++++--
core/connectors/runtime/src/context.rs | 5 +-
.../connectors/sinks/elasticsearch_sink/Cargo.toml | 1 +
.../connectors/sinks/elasticsearch_sink/src/lib.rs | 7 +-
core/connectors/sinks/mongodb_sink/Cargo.toml | 2 +
core/connectors/sinks/mongodb_sink/src/lib.rs | 10 +-
core/connectors/sinks/postgres_sink/Cargo.toml | 1 +
core/connectors/sinks/postgres_sink/src/lib.rs | 10 +-
.../sources/elasticsearch_source/Cargo.toml | 1 +
.../sources/elasticsearch_source/src/lib.rs | 7 +-
core/connectors/sources/postgres_source/Cargo.toml | 1 +
core/connectors/sources/postgres_source/src/lib.rs | 10 +-
core/integration/Cargo.toml | 1 +
.../test_pat_login_options.rs | 7 +-
.../tests/cli/user/test_user_create_command.rs | 8 +-
core/integration/tests/mcp/mod.rs | 3 +-
.../server/scenarios/authentication_scenario.rs | 3 +-
.../scenarios/cross_protocol_pat_scenario.rs | 5 +-
.../server/scenarios/purge_delete_scenario.rs | 3 +-
.../stale_client_consumer_group_scenario.rs | 3 +-
.../tests/server/scenarios/user_scenario.rs | 9 +-
core/integration/tests/state/file.rs | 7 +-
core/integration/tests/state/system.rs | 10 +-
core/metadata/Cargo.toml | 1 +
core/metadata/src/stm/user.rs | 5 +-
core/sdk/Cargo.toml | 1 +
core/sdk/src/client_provider.rs | 7 +-
core/sdk/src/http/http_client.rs | 3 +-
core/sdk/src/http/personal_access_tokens.rs | 3 +-
core/sdk/src/http/users.rs | 9 +-
core/sdk/src/quic/quic_client.rs | 44 +++++----
core/sdk/src/tcp/tcp_client.rs | 44 +++++----
core/sdk/src/websocket/websocket_client.rs | 6 +-
core/server/Cargo.toml | 1 +
core/server/src/binary/command.rs | 8 +-
.../login_with_personal_access_token_handler.rs | 11 +--
.../binary/handlers/users/login_user_handler.rs | 3 +-
core/server/src/binary/macros.rs | 2 +-
core/server/src/http/mapper.rs | 3 +-
core/server/src/http/personal_access_tokens.rs | 7 +-
core/server/src/http/users.rs | 3 +-
core/server/src/shard/execution.rs | 17 ++--
core/server/src/state/command.rs | 2 +-
core/server/src/state/models.rs | 2 +-
core/server/src/state/system.rs | 37 ++++++-
70 files changed, 673 insertions(+), 261 deletions(-)
create mode 100644 core/common/src/utils/serde_secret.rs