Class GitModuleProperties

java.lang.Object
org.apache.sshd.git.GitModuleProperties

public final class GitModuleProperties extends Object
Configurable properties for sshd-git.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.sshd.common.Property<Duration>
    Property used to configure the SSHD FactoryManager with the default timeout (millis) to authenticate with the remote SSH server.
    static final org.apache.sshd.common.Property<Duration>
    Property used to configure the SSHD FactoryManager with the default timeout (millis) to open a channel to the remote SSH server.
    static final org.apache.sshd.common.Property<Duration>
    Property used to configure the SSHD FactoryManager with the default timeout (millis) to connect to the remote SSH server.
    static final org.apache.sshd.common.Property<String>
    Property used to configure the SSHD FactoryManager with the GIT_PROTOCOL environment variable.
    static final org.apache.sshd.common.Property<Boolean>
    Property defining whether only a subset of "safe" JGit command shall be allowed by the GitPgmCommand.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CONNECT_TIMEOUT

      public static final org.apache.sshd.common.Property<Duration> CONNECT_TIMEOUT
      Property used to configure the SSHD FactoryManager with the default timeout (millis) to connect to the remote SSH server.
    • AUTH_TIMEOUT

      public static final org.apache.sshd.common.Property<Duration> AUTH_TIMEOUT
      Property used to configure the SSHD FactoryManager with the default timeout (millis) to authenticate with the remote SSH server.
    • CHANNEL_OPEN_TIMEOUT

      public static final org.apache.sshd.common.Property<Duration> CHANNEL_OPEN_TIMEOUT
      Property used to configure the SSHD FactoryManager with 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<String> GIT_PROTOCOL_VERSION
      Property used to configure the SSHD FactoryManager with the GIT_PROTOCOL environment variable. The default is not specified and therefore original (v0) protocol is used.
    • RESTRICT_COMMANDS

      public static final org.apache.sshd.common.Property<Boolean> RESTRICT_COMMANDS
      Property defining whether only a subset of "safe" JGit command shall be allowed by the GitPgmCommand. By default true. Setting this to false will 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.
  • Constructor Details

    • GitModuleProperties

      private GitModuleProperties()