public final class ServerLegalHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_THREAD_POOL_SIZE |
private static java.lang.String |
minimumTLSProtocolFromSysProperty |
static int |
PRODUCTION_MODE_THREAD_POOL_SIZE |
static java.lang.String[] |
SUPPORTED_PROTOCOLS |
static java.lang.String |
TLSv1_1 |
Constructor and Description |
---|
ServerLegalHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
checkListenAddress(ServerMBean self,
java.lang.Object value)
Deprecated.
9.0.0.0
|
static java.lang.String |
getDerivedMinimumTLSProtocol() |
static boolean |
isListenPortEnabled(SSLMBean self)
Determine whether the standard ListenPort or another channel is
open and therefore makes it legal to switch off the SSL
ListenPort.
|
static boolean |
isSSLListenPortEnabled(ServerTemplateMBean self)
Determine whether the SSL ListenPort or another channel is open
and therefore makes it legal to switch off the standard
ListenPort.
|
static void |
validateFederationServices(FederationServicesMBean fed)
Validate the Federation Services configuration.
|
static void |
validateMinimumSSLProtocol(java.lang.String minimumSSLProtocol)
Determine if the protocol is supported by the configured JSSE provider
|
static void |
validateServer(ServerTemplateMBean server) |
static void |
validateSingleSignOnServices(SingleSignOnServicesMBean sso)
Validate the Single Sign-On Services configuration.
|
static void |
validateSSL(SSLMBean ssl) |
public static final int DEFAULT_THREAD_POOL_SIZE
public static final int PRODUCTION_MODE_THREAD_POOL_SIZE
public static final java.lang.String TLSv1_1
public static final java.lang.String[] SUPPORTED_PROTOCOLS
private static java.lang.String minimumTLSProtocolFromSysProperty
public static boolean isSSLListenPortEnabled(ServerTemplateMBean self)
self
- public static boolean isListenPortEnabled(SSLMBean self)
self
- The SSLMBean to check.public static void validateSSL(SSLMBean ssl) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public static void validateServer(ServerTemplateMBean server) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
@Deprecated public static void checkListenAddress(ServerMBean self, java.lang.Object value) throws javax.management.InvalidAttributeValueException
self
- value
- javax.management.InvalidAttributeValueException
public static void validateFederationServices(FederationServicesMBean fed) throws java.lang.IllegalArgumentException
Validate the Federation Services configuration.
fed
- The Federation Services MBean.java.lang.IllegalArgumentException
- Invalid configuration detected.public static void validateSingleSignOnServices(SingleSignOnServicesMBean sso) throws java.lang.IllegalArgumentException
Validate the Single Sign-On Services configuration.
fed
- The Single Sign-On Services MBean.java.lang.IllegalArgumentException
- Invalid configuration detected.public static void validateMinimumSSLProtocol(java.lang.String minimumSSLProtocol) throws javax.management.InvalidAttributeValueException
minimumSSLProtocol
- the minimum SSL/TLS protocol to validatejavax.management.InvalidAttributeValueException
- if the minimum protocol is not validpublic static java.lang.String getDerivedMinimumTLSProtocol()