Class GitModuleProperties


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

      Fields 
      Modifier and Type Field Description
      static org.apache.sshd.common.Property<java.time.Duration> AUTH_TIMEOUT
      Property used to configure the SSHD FactoryManager with the default timeout (millis) to authenticate with the remote SSH server.
      static org.apache.sshd.common.Property<java.time.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.
      static org.apache.sshd.common.Property<java.time.Duration> CONNECT_TIMEOUT
      Property used to configure the SSHD FactoryManager with the default timeout (millis) to connect to the remote SSH server.
      static org.apache.sshd.common.Property<java.lang.String> GIT_PROTOCOL_VERSION
      Property used to configure the SSHD FactoryManager with the GIT_PROTOCOL environment variable.
      static org.apache.sshd.common.Property<java.lang.Boolean> RESTRICT_COMMANDS
      Property defining whether only a subset of "safe" JGit command shall be allowed by the GitPgmCommand.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private GitModuleProperties()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • CONNECT_TIMEOUT

        public static final org.apache.sshd.common.Property<java.time.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<java.time.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<java.time.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<java.lang.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<java.lang.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 Detail

      • GitModuleProperties

        private GitModuleProperties()