Can the server disconnect/remove clients? #1178
Closed
leonardo-roman
started this conversation in
General
Replies: 1 comment
-
I was able to do this from the server. I needed to capture the session when a user logs in and use it to close the session whenever our service changes password or removes a user account as such: session.getServer().getSessionManager().killSession(session.getSessionId(), true); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am implementing a service which creates/removes/updates usernames and passwords to connect to the OPC UA server, this is not a UA client application. Assuming one-to-one map between username and client session exists in the server, when a given client is deleted or its password is reset, I would like for the server to terminate connection for such client if there is an active session.
I was reading discussion #957 so I was wondering if this does the trick.
Beta Was this translation helpful? Give feedback.
All reactions