You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@plc4x.apache.org by "takraj (via GitHub)" <gi...@apache.org> on 2023/09/23 15:13:21 UTC
[I] [Feature Request]: plc4j-driver-opcua - Add support for `PlcUsernamePasswordAuthentication`
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-unsubscribe@plc4x.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature Request]: plc4j-driver-opcua - Add support for `PlcUsernamePasswordAuthentication`
Posted by "sruehl (via GitHub)" <gi...@apache.org>.
sruehl commented on issue #1104:
URL: https://github.com/apache/plc4x/issues/1104#issuecomment-1733064565
fixed with #1107
--
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-unsubscribe@plc4x.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature Request]: plc4j-driver-opcua - Add support for `PlcUsernamePasswordAuthentication`
Posted by "sruehl (via GitHub)" <gi...@apache.org>.
sruehl closed issue #1104: [Feature Request]: plc4j-driver-opcua - Add support for `PlcUsernamePasswordAuthentication`
URL: https://github.com/apache/plc4x/issues/1104
--
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-unsubscribe@plc4x.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org