diff --git a/modules/common/connection/src/main/java/com/tsurugidb/tools/common/connection/ConnectionProvider.java b/modules/common/connection/src/main/java/com/tsurugidb/tools/common/connection/ConnectionProvider.java index 3c3be58..134d2e2 100644 --- a/modules/common/connection/src/main/java/com/tsurugidb/tools/common/connection/ConnectionProvider.java +++ b/modules/common/connection/src/main/java/com/tsurugidb/tools/common/connection/ConnectionProvider.java @@ -119,7 +119,8 @@ protected Session attempt(@Nonnull ConnectionSettings settings, @Nonnull Credent LOG.trace("enter: attempt: {} ({})", credential, settings); //$NON-NLS-1$ var builder = SessionBuilder.connect(settings.getEndpointUri()); builder.withCredential(credential); - // TODO: more settings + settings.getApplicationName().ifPresent(builder::withApplicationName); + settings.getSessionLabel().ifPresent(builder::withLabel); var timeout = settings.getEstablishTimeout(); Session result; if (timeout.isEmpty()) {