mgblow
mgblow

Reputation: 11

Milo OPC UA - create a server with username and password

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

Answers (1)

Kevin Herron
Kevin Herron

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

Related Questions