@FunctionalInterface public interface X11ForwardingFilter
Modifier and Type | Field and Description |
---|---|
static X11ForwardingFilter |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
boolean |
canForwardX11(Session session,
String requestType)
Determine if the session may arrange for X11 forwarding.
|
static X11ForwardingFilter |
of(boolean enabled) |
static final X11ForwardingFilter DEFAULT
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.
session
- The Session
requesting permission to forward X11 connections.requestType
- The request type string that triggered this callstatic X11ForwardingFilter of(boolean enabled)
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.