takraj opened a new issue, #1104: URL: https://github.com/apache/plc4x/issues/1104
### What would you like to happen? The OPC-UA driver supports (among others) password based authentication. Currently one can only configure this through URL query parameters, like so: ``` driverManager.getConnection("opcua:tcp://127.0.0.1:4567?username=foo&password=bar") ``` There already is a facility in the framework to pass authentication object to the `getConnection(...)` call, so ideally the above should be equivalent to this one below: ``` driverManager.getConnection( "opcua:tcp://127.0.0.1:4567, new PlcUsernamePasswordAuthentication("foo", "bar") ) ``` Looking at the code, this feature is currently only supported by `plc4j-driver-ads`, and other drivers silently ignore the passed object. Adding support for this facility would improve the overall user experience. ### Programming Languages - [X] plc4j - [ ] plc4go - [ ] plc4c - [ ] plc4net ### Protocols - [ ] AB-Ethernet - [ ] ADS /AMS - [ ] BACnet/IP - [ ] CANopen - [ ] DeltaV - [ ] DF1 - [ ] EtherNet/IP - [ ] Firmata - [ ] KNXnet/IP - [ ] Modbus - [X] OPC-UA - [ ] S7 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@plc4x.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org