public enum StsClientState extends Enum<StsClientState>
Enum Constant and Description |
---|
INVALID_STS_MISSING_ON_RECONNECT
An STS policy was present when we connected with the insecure port, but it wasn't there
when we connected on the advertised secure port.
|
NO_STS_PRESENT
The CAP LS command gave us back a response, but `sts` wasn't present in the list.
|
STS_POLICY_CACHED
A cached policy was used to force a secure connection.
|
STS_PRESENT_ALREADY_SECURE
We connected and found a valid STS policy, but we were already connected on a secure
port so we don't need to reconnect.
|
STS_PRESENT_CANNOT_CONNECT
We connected via an insecure communication means and found an STS policy.
|
STS_PRESENT_NOW_SECURE
We connected over plaintext and found a valid STS policy.
|
STS_PRESENT_RECONNECTING
We connected over an insecure link and found a valid `sts` capability.
|
UNKNOWN
A state is not yet available.
|
Modifier and Type | Method and Description |
---|---|
static StsClientState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StsClientState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StsClientState UNKNOWN
public static final StsClientState NO_STS_PRESENT
public static final StsClientState STS_POLICY_CACHED
public static final StsClientState STS_PRESENT_RECONNECTING
public static final StsClientState STS_PRESENT_ALREADY_SECURE
public static final StsClientState STS_PRESENT_NOW_SECURE
public static final StsClientState STS_PRESENT_CANNOT_CONNECT
public static final StsClientState INVALID_STS_MISSING_ON_RECONNECT
public static StsClientState[] values()
for (StsClientState c : StsClientState.values()) System.out.println(c);
public static StsClientState 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 © 2013–2021 Kitteh. All rights reserved.