Package org.apache.sshd.git
Class GitModuleProperties
- java.lang.Object
-
- org.apache.sshd.git.GitModuleProperties
-
public final class GitModuleProperties extends java.lang.ObjectConfigurable properties for sshd-git.
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.sshd.common.Property<java.time.Duration>AUTH_TIMEOUTProperty used to configure the SSHDFactoryManagerwith the default timeout (millis) to authenticate with the remote SSH server.static org.apache.sshd.common.Property<java.time.Duration>CHANNEL_OPEN_TIMEOUTProperty used to configure the SSHDFactoryManagerwith the default timeout (millis) to open a channel to the remote SSH server.static org.apache.sshd.common.Property<java.time.Duration>CONNECT_TIMEOUTProperty used to configure the SSHDFactoryManagerwith the default timeout (millis) to connect to the remote SSH server.static org.apache.sshd.common.Property<java.lang.String>GIT_PROTOCOL_VERSIONProperty used to configure the SSHDFactoryManagerwith theGIT_PROTOCOLenvironment variable.static org.apache.sshd.common.Property<java.lang.Boolean>RESTRICT_COMMANDSProperty defining whether only a subset of "safe" JGit command shall be allowed by theGitPgmCommand.
-
Constructor Summary
Constructors Modifier Constructor Description privateGitModuleProperties()
-
-
-
Field Detail
-
CONNECT_TIMEOUT
public static final org.apache.sshd.common.Property<java.time.Duration> CONNECT_TIMEOUT
Property used to configure the SSHDFactoryManagerwith the default timeout (millis) to connect to the remote SSH server.
-
AUTH_TIMEOUT
public static final org.apache.sshd.common.Property<java.time.Duration> AUTH_TIMEOUT
Property used to configure the SSHDFactoryManagerwith the default timeout (millis) to authenticate with the remote SSH server.
-
CHANNEL_OPEN_TIMEOUT
public static final org.apache.sshd.common.Property<java.time.Duration> CHANNEL_OPEN_TIMEOUT
Property used to configure the SSHDFactoryManagerwith the default timeout (millis) to open a channel to the remote SSH server. is used.
-
GIT_PROTOCOL_VERSION
public static final org.apache.sshd.common.Property<java.lang.String> GIT_PROTOCOL_VERSION
Property used to configure the SSHDFactoryManagerwith theGIT_PROTOCOLenvironment variable. The default is not specified and therefore original (v0) protocol is used.
-
RESTRICT_COMMANDS
public static final org.apache.sshd.common.Property<java.lang.Boolean> RESTRICT_COMMANDS
Property defining whether only a subset of "safe" JGit command shall be allowed by theGitPgmCommand. By defaulttrue. Setting this tofalsewill allow any command supported by JGit, but this would be unsafe. The intent of these commands is to provide authorized users with some maintenance commands on (bare) git repositories stored in a git server.
-
-