Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

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

Constructor summary

Modifier and Type Method and Description

Server.SecurityCallback(Server.SecurityCallback.VerifyPeerType, Server.SecurityCallback.IsUserNameRequiredType, Server.SecurityCallback.IsPasswordRequiredType, Server.SecurityCallback.AuthenticateUserType)

Initializes a new SecurityCallback class instance.

Method summary

Modifier and Type Method and Description
Boolean

Server.SecurityCallback.OnVerifyPeer(Server, Connection, String, ImmutableDataBuffer)

Handles the VerifyPeer event. By default, calls the VerifyPeer delegate.

Boolean

Server.SecurityCallback.OnIsUserNameRequired(Server, Connection)

Handles the IsUserNameRequired event. By default, calls the IsUserNameRequired delegate.

Boolean

Server.SecurityCallback.OnIsPasswordRequired(Server, Connection)

Handles the IsPasswordRequired event. By default, calls the IsPasswordRequired delegate.

Server.Permissions

Server.SecurityCallback.OnAuthenticateUser(Server, Connection, String, String)

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::verifyPeer in 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::isUserNameRequired in 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::isPasswordRequired in the C API documentation.

Server.SecurityCallback.AuthenticateUser

Authenticate credentials presented by a Viewer.

For more information, see vnc_Server_SecurityCallback::authenticateUser in the C API documentation.

×