Enum WelcomeBannerPhase

    • Enum Constant Detail

      • IMMEDIATE

        public static final WelcomeBannerPhase IMMEDIATE
        Immediately after receiving "ssh-userauth" request
      • FIRST_REQUEST

        public static final WelcomeBannerPhase FIRST_REQUEST
        On first SSH_MSG_USERAUTH_REQUEST
      • FIRST_AUTHCMD

        public static final WelcomeBannerPhase FIRST_AUTHCMD
        On first SSH_MSG_USERAUTH_XXX extension command
      • FIRST_FAILURE

        public static final WelcomeBannerPhase FIRST_FAILURE
        On first SSH_MSG_USERAUTH_FAILURE
      • POST_SUCCESS

        public static final WelcomeBannerPhase POST_SUCCESS
        After user successfully authenticates
      • NEVER

        public static final WelcomeBannerPhase NEVER
        Do not send a welcome banner even if one is configured. Note: this option is useful when a global welcome banner has been configured but we want to disable it for a specific session.
    • Method Detail

      • values

        public static WelcomeBannerPhase[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (WelcomeBannerPhase c : WelcomeBannerPhase.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static WelcomeBannerPhase valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null