Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

Server.SecurityCallback

public interface SecurityCallback

Callback receiving security-related notifications for a Server.

Method Summary

Modifier and Type Method and Description
java.lang.Iterable

authenticateUser(Server server, Connection connection, String username, String password)

Authenticate credentials presented by a Viewer.

boolean

isPasswordRequired(Server server, Connection connection)

Decide if a connecting Viewer is required to provide a password.

boolean

isUserNameRequired(Server server, Connection connection)

Decide if a connecting Viewer is required to provide a user name.

boolean

verifyPeer(Server server, Connection connection, String viewerHexFingerprint, ImmutableDataBuffer viewerRsaPublic)

Verify a Viewer’s cryptographic identity.

Methods

java.lang.Iterable<Permissions> authenticateUser(Server server, Connection connection, String username, String password)

Authenticate credentials presented by a Viewer.

For more information, see vnc_Server_SecurityCallback::authenticateUser.

boolean isPasswordRequired(Server server, Connection connection)

Decide if a connecting Viewer is required to provide a password.

For more information, see vnc_Server_SecurityCallback::isPasswordRequired.

boolean isUserNameRequired(Server server, Connection connection)

Decide if a connecting Viewer is required to provide a user name.

For more information, see vnc_Server_SecurityCallback::isUserNameRequired.

boolean verifyPeer(Server server, Connection connection, String viewerHexFingerprint, ImmutableDataBuffer viewerRsaPublic)

Verify a Viewer’s cryptographic identity.

For more information, see vnc_Server_SecurityCallback::verifyPeer.

×