[Minor] Use configuration.getSecret() where applicable

This commit is contained in:
Robert von Burg 2023-07-28 11:26:23 +02:00
parent bce0c7fe1e
commit 77a817ba1b
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ public class PlcGwClientHandler extends StrolchComponent implements GlobalPlcLis
this.plcId = getComponent(PlcHandler.class).getPlcId();
this.gwConnectToServer = configuration.getBoolean("gwConnectToServer", true);
this.gwUsername = configuration.getString("gwUsername", null);
this.gwPassword = configuration.getString("gwPassword", null);
this.gwPassword = configuration.getSecret("gwPassword");
this.gwServerUrl = configuration.getString("gwServerUrl", null);
this.maxMessageQueue = configuration.getInt("maxMessageQueue", 100);