Learn how to evaluate and integrate the VNC SDK
Server.SecurityCallback¶
-
class Server.SecurityCallback¶ Callback receiving security-related notifications for a Server.
For more information, see
vnc_Server_SecurityCallback()in the C API documentation.
Nested classes¶
- Server.SecurityCallback.VerifyPeerType
- Server.SecurityCallback.IsUserNameRequiredType
- Server.SecurityCallback.IsPasswordRequiredType
- Server.SecurityCallback.AuthenticateUserType
Constructor summary
| Modifier and Type | Method and Description |
|---|---|
Initializes a new SecurityCallback class instance. |
Method summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
Handles the VerifyPeer event. By default, calls the VerifyPeer delegate. |
| Boolean |
Handles the IsUserNameRequired event. By default, calls the IsUserNameRequired delegate. |
| Boolean |
Handles the IsPasswordRequired event. By default, calls the IsPasswordRequired delegate. |
Server.Permissions |
Handles the AuthenticateUser event. By default, calls the AuthenticateUser delegate. |
Constructors¶
-
Server.SecurityCallback(Server.SecurityCallback.VerifyPeerType a, Server.SecurityCallback.IsUserNameRequiredType b, Server.SecurityCallback.IsPasswordRequiredType c, Server.SecurityCallback.AuthenticateUserType d)¶ Initializes a new SecurityCallback class instance.
For more information, see
vnc_Server_SecurityCallback()in the C API documentation.
Methods¶
-
Boolean
Server.SecurityCallback.OnVerifyPeer(Server a, Connection b, String c, ImmutableDataBuffer d)¶ Handles the VerifyPeer event. By default, calls the VerifyPeer delegate.
-
Boolean
Server.SecurityCallback.OnIsUserNameRequired(Server a, Connection b)¶ Handles the IsUserNameRequired event. By default, calls the IsUserNameRequired delegate.
-
Boolean
Server.SecurityCallback.OnIsPasswordRequired(Server a, Connection b)¶ Handles the IsPasswordRequired event. By default, calls the IsPasswordRequired delegate.
-
Server.Permissions
Server.SecurityCallback.OnAuthenticateUser(Server a, Connection b, String c, String d)¶ Handles the AuthenticateUser event. By default, calls the AuthenticateUser delegate.
Fields¶
-
Server.SecurityCallback.VerifyPeer¶ Verify a Viewer’s cryptographic identity.
For more information, see
vnc_Server_SecurityCallback::verifyPeerin the C API documentation.
-
Server.SecurityCallback.IsUserNameRequired¶ Decide if a connecting Viewer is required to provide a user name.
For more information, see
vnc_Server_SecurityCallback::isUserNameRequiredin the C API documentation.
-
Server.SecurityCallback.IsPasswordRequired¶ Decide if a connecting Viewer is required to provide a password.
For more information, see
vnc_Server_SecurityCallback::isPasswordRequiredin the C API documentation.
-
Server.SecurityCallback.AuthenticateUser¶ Authenticate credentials presented by a Viewer.
For more information, see
vnc_Server_SecurityCallback::authenticateUserin the C API documentation.