Interface ServerAuthenticationManager

    • Field Detail

      • MAX_AUTH_REQUESTS

        static final String MAX_AUTH_REQUESTS
        Key used to retrieve the value in the configuration properties map of the maximum number of failed authentication requests before the server closes the connection.
        See Also:
        DEFAULT_MAX_AUTH_REQUESTS, Constant Field Values
      • WELCOME_BANNER

        static final String WELCOME_BANNER
        Key used to retrieve the value of welcome banner that will be displayed when a user connects to the server. If null/empty then no banner will be sent. The value can be one of the following:

        • A File or Path, in which case its contents will be transmitted. Note: if the file is empty or does not exits, no banner will be transmitted.
        • A URI or a string starting with "file:/", in which case it will be converted to a Path and handled accordingly.
        • A string containing a special value indicator - e.g., AUTO_WELCOME_BANNER_VALUE, in which case the relevant banner content will be generated.
        • Any other object whose toString() value yields a non empty string will be used as the banner contents.
        See Also:
        RFC-4252 section 5.4, Constant Field Values
      • AUTO_WELCOME_BANNER_VALUE

        static final String AUTO_WELCOME_BANNER_VALUE
        Special value that can be set for the WELCOME_BANNER property indicating that the server should generate a banner consisting of the random art of the server's keys (if any are provided). If no server keys are available, then no banner will be sent
        See Also:
        Constant Field Values
      • WELCOME_BANNER_CHARSET

        static final String WELCOME_BANNER_CHARSET
        The charset to use if the configured welcome banner points to a file - if not specified (either as a string or a Charset then the local default is used.
        See Also:
        Constant Field Values
      • AUTH_METHODS

        static final String AUTH_METHODS
        This key is used when configuring multi-step authentications. The value needs to be a blank separated list of comma separated list of authentication method names. For example, an argument of publickey,password publickey,keyboard-interactive would require the user to complete public key authentication, followed by either password or keyboard interactive authentication. Only methods that are next in one or more lists are offered at each stage, so for this example, it would not be possible to attempt password or keyboard-interactive authentication before public key.
        See Also:
        Constant Field Values
      • DEFAULT_USER_AUTH_GSS_FACTORY

        static final UserAuthGSSFactory DEFAULT_USER_AUTH_GSS_FACTORY