public enum WelcomeBannerPhase extends Enum<WelcomeBannerPhase>
Enum Constant and Description |
---|
FIRST_AUTHCMD
On first
SSH_MSG_USERAUTH_XXX extension command |
FIRST_FAILURE
On first
SSH_MSG_USERAUTH_FAILURE |
FIRST_REQUEST
On first
SSH_MSG_USERAUTH_REQUEST |
IMMEDIATE
Immediately after receiving "ssh-userauth" request
|
NEVER
Do not send a welcome banner even if one is configured.
|
POST_SUCCESS
After user successfully authenticates
|
Modifier and Type | Field and Description |
---|---|
static Set<WelcomeBannerPhase> |
VALUES |
Modifier and Type | Method and Description |
---|---|
static WelcomeBannerPhase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WelcomeBannerPhase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WelcomeBannerPhase IMMEDIATE
public static final WelcomeBannerPhase FIRST_REQUEST
SSH_MSG_USERAUTH_REQUEST
public static final WelcomeBannerPhase FIRST_AUTHCMD
SSH_MSG_USERAUTH_XXX
extension commandpublic static final WelcomeBannerPhase FIRST_FAILURE
SSH_MSG_USERAUTH_FAILURE
public static final WelcomeBannerPhase POST_SUCCESS
public static final WelcomeBannerPhase NEVER
public static final Set<WelcomeBannerPhase> VALUES
public static WelcomeBannerPhase[] values()
for (WelcomeBannerPhase c : WelcomeBannerPhase.values()) System.out.println(c);
public static WelcomeBannerPhase valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2008–2022 The Apache Software Foundation. All rights reserved.