Reputation: 11
I'm new to OPC UA and I want to create a server that requires username and password in order to authenticate user, how is that possible in Milo OPC ?
Upvotes: 0
Views: 849
Reputation: 7005
This is covered by the example server: https://github.com/eclipse/milo/blob/master/milo-examples/server-examples/src/main/java/org/eclipse/milo/examples/server/ExampleServer.java
Create a UsernameIdentityValidator
and set it on the config builder.
Upvotes: 1