public enum CmsSSLMode extends java.lang.Enum<CmsSSLMode>
Enum Constant and Description |
---|
LETS_ENCRYPT
Encryption via Let's encrypt.
|
MANUAL
Manual ssl configuration of server.
|
MANUAL_EP_TERMINATION
Manual ssl configuration of server with endpoint termination.
|
NO
No encryption.
|
SECURE_SERVER
Encryption via secure server (the old OpenCms way).
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<CmsSSLMode> |
availableModes(boolean includeOldStyle,
boolean includeLetsEncrypt)
List of all available modes.
|
static CmsSSLMode |
getDefault()
The default SSL Mode.
|
java.lang.String |
getLocalizedMessage()
Gets localized message.
|
static CmsSSLMode |
getModeFromXML(java.lang.String xmlValue)
Gets CmsSSLMode from given XML value.
|
java.lang.String |
getXMLValue()
Gets the XML value.
|
boolean |
isSecure()
Returns if SSL Mode is secure.
|
static CmsSSLMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CmsSSLMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmsSSLMode NO
public static final CmsSSLMode MANUAL
public static final CmsSSLMode MANUAL_EP_TERMINATION
public static final CmsSSLMode LETS_ENCRYPT
public static final CmsSSLMode SECURE_SERVER
public static CmsSSLMode[] values()
for (CmsSSLMode c : CmsSSLMode.values()) System.out.println(c);
public static CmsSSLMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.util.List<CmsSSLMode> availableModes(boolean includeOldStyle, boolean includeLetsEncrypt)
includeOldStyle
- include old Secure Server Styles?includeLetsEncrypt
- if true, include the LETS_ENCRYPT mode in the resultpublic static CmsSSLMode getDefault()
public static CmsSSLMode getModeFromXML(java.lang.String xmlValue)
xmlValue
- to get CmsSSLMode forpublic java.lang.String getLocalizedMessage()
public java.lang.String getXMLValue()
public boolean isSecure()