Interface X11ForwardingFilter

    • Method Detail

      • canForwardX11

        boolean canForwardX11​(Session session,
                              String requestType)

        Determine if the session may arrange for X11 forwarding.

        This server process will open a new listen socket locally and export the address in the environment so X11 clients can be tunneled to the user's X11 display server.

        Parameters:
        session - The Session requesting permission to forward X11 connections.
        requestType - The request type string that triggered this call
        Returns:
        true if the X11 forwarding is permitted, false if denied.