Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- apply(Javalin) - Method in class io.javalin.community.ssl.SSLPlugin
-
Method to apply the plugin to a Javalin instance
C
- configConnectors - Variable in class io.javalin.community.ssl.SSLConfig
-
Consumer to configure the different @
ServerConnectors that will be created. - ConnectorFactory - Class in io.javalin.community.ssl.util
-
Helper class to create the requested
ServerConnectors from the given config. - ConnectorFactory() - Constructor for class io.javalin.community.ssl.util.ConnectorFactory
- ConnectorFactory(SSLConfig, Server, SslContextFactory.Server) - Constructor for class io.javalin.community.ssl.util.ConnectorFactory
- createInsecureConnector() - Method in class io.javalin.community.ssl.util.ConnectorFactory
-
Create and return an insecure connector to the server.
- createSecureConnector() - Method in class io.javalin.community.ssl.util.ConnectorFactory
-
Create and apply an SSL connector to the server.
- createSslContextFactory(SSLConfig) - Static method in class io.javalin.community.ssl.util.SSLUtils
-
Helper method to create a
SslContextFactoryfrom the given config.
D
- disableHttp3Upgrade - Variable in class io.javalin.community.ssl.SSLConfig
-
Disables the handler that adds an "Alt-Svc" header to any non HTTP/3 response.
E
- enableHttp3 - Variable in class io.javalin.community.ssl.SSLConfig
-
Enables HTTP/3 Support.
- equals(Object) - Method in class io.javalin.community.ssl.TLSConfig
G
- getCipherSuites() - Method in class io.javalin.community.ssl.TLSConfig
-
String array of cipher suites to use, following the guidelines in the Jetty documentation.
- getIdentityLoadingType() - Method in class io.javalin.community.ssl.SSLConfig.InnerConfig
- getMessage() - Method in enum class io.javalin.community.ssl.SSLConfigException.Types
- getProtocols() - Method in class io.javalin.community.ssl.TLSConfig
-
String array of protocols to use, following the guidelines in the Jetty documentation.
H
- hashCode() - Method in class io.javalin.community.ssl.TLSConfig
- host - Variable in class io.javalin.community.ssl.SSLConfig
-
Host to bind to.
- http2 - Variable in class io.javalin.community.ssl.SSLConfig
-
Toggle HTTP/2 Support
- http3Port - Variable in class io.javalin.community.ssl.SSLConfig
-
UDP Port to use on the HTTP/3 connector.
I
- inner - Variable in class io.javalin.community.ssl.SSLConfig
- InnerConfig() - Constructor for class io.javalin.community.ssl.SSLConfig.InnerConfig
- insecure - Variable in class io.javalin.community.ssl.SSLConfig
-
Toggle the default http (insecure) connector.
- insecurePort - Variable in class io.javalin.community.ssl.SSLConfig
-
Port to use on the http (insecure) connector.
- INTERMEDIATE - Static variable in class io.javalin.community.ssl.TLSConfig
-
Recommended configuration for a general-purpose server
- INVALID_HOST - Enum constant in enum class io.javalin.community.ssl.SSLConfigException.Types
- INVALID_HTTP3_PORT - Enum constant in enum class io.javalin.community.ssl.SSLConfigException.Types
- INVALID_INSECURE_PORT - Enum constant in enum class io.javalin.community.ssl.SSLConfigException.Types
- INVALID_SSL_PORT - Enum constant in enum class io.javalin.community.ssl.SSLConfigException.Types
- io.javalin.community.ssl - package io.javalin.community.ssl
- io.javalin.community.ssl.util - package io.javalin.community.ssl.util
K
- KEY_STORE_CLASS_PATH - Enum constant in enum class io.javalin.community.ssl.SSLConfig.InnerConfig.IdentityLoadingType
- KEY_STORE_FILE_PATH - Enum constant in enum class io.javalin.community.ssl.SSLConfig.InnerConfig.IdentityLoadingType
- KEY_STORE_INPUT_STREAM - Enum constant in enum class io.javalin.community.ssl.SSLConfig.InnerConfig.IdentityLoadingType
- keyStoreFile - Variable in class io.javalin.community.ssl.SSLConfig.InnerConfig
-
Name of the key store file in the classpath.
- keystoreFromClasspath(String, String) - Method in class io.javalin.community.ssl.SSLConfig
-
Load a key store from the classpath.
- keystoreFromInputStream(InputStream, String) - Method in class io.javalin.community.ssl.SSLConfig
-
Load a key store from a given input stream.
- keystoreFromPath(String, String) - Method in class io.javalin.community.ssl.SSLConfig
-
Load a key store from a given path in the system.
- keyStoreInputStream - Variable in class io.javalin.community.ssl.SSLConfig.InnerConfig
-
Input stream to the key store file.
- keyStorePassword - Variable in class io.javalin.community.ssl.SSLConfig.InnerConfig
-
Password for the key store.
- keyStorePath - Variable in class io.javalin.community.ssl.SSLConfig.InnerConfig
-
Path to the key store file.
M
- MISSING_CERT_AND_KEY_FILE - Enum constant in enum class io.javalin.community.ssl.SSLConfigException.Types
- MODERN - Static variable in class io.javalin.community.ssl.TLSConfig
-
For modern clients that support TLS 1.3, with no need for backwards compatibility
- MULTIPLE_IDENTITY_LOADING_OPTIONS - Enum constant in enum class io.javalin.community.ssl.SSLConfigException.Types
N
- NONE - Enum constant in enum class io.javalin.community.ssl.SSLConfig.InnerConfig.IdentityLoadingType
O
- OLD - Static variable in class io.javalin.community.ssl.TLSConfig
-
For services accessed by very old clients or libraries, such as Internet Explorer 8 (Windows XP), Java 6, or OpenSSL 0.9.8
P
- parseIdentity(SSLConfig, SSLFactory.Builder) - Static method in class io.javalin.community.ssl.util.SSLUtils
-
Helper method to parse the given config and add Identity Material to the given builder.
- patch(Server) - Method in class io.javalin.community.ssl.SSLPlugin
-
Method to apply the SSLConfig to a given Jetty Server.
- PEM_CLASS_PATH - Enum constant in enum class io.javalin.community.ssl.SSLConfig.InnerConfig.IdentityLoadingType
- PEM_FILE_PATH - Enum constant in enum class io.javalin.community.ssl.SSLConfig.InnerConfig.IdentityLoadingType
- PEM_INPUT_STREAM - Enum constant in enum class io.javalin.community.ssl.SSLConfig.InnerConfig.IdentityLoadingType
- PEM_STRING - Enum constant in enum class io.javalin.community.ssl.SSLConfig.InnerConfig.IdentityLoadingType
- pemCertificatesFile - Variable in class io.javalin.community.ssl.SSLConfig.InnerConfig
-
Name of the certificate chain PEM file in the classpath.
- pemCertificatesInputStream - Variable in class io.javalin.community.ssl.SSLConfig.InnerConfig
-
Input stream to the certificate chain PEM file.
- pemCertificatesPath - Variable in class io.javalin.community.ssl.SSLConfig.InnerConfig
-
Path to the PEM certificate chain PEM file.
- pemCertificatesString - Variable in class io.javalin.community.ssl.SSLConfig.InnerConfig
-
Certificate chain as a PEM encoded string.
- pemFromClasspath(String, String) - Method in class io.javalin.community.ssl.SSLConfig
-
Load pem formatted identity data from the classpath.
- pemFromClasspath(String, String, String) - Method in class io.javalin.community.ssl.SSLConfig
-
Load pem formatted identity data from the classpath.
- pemFromInputStream(InputStream, InputStream) - Method in class io.javalin.community.ssl.SSLConfig
-
Load pem formatted identity data from a given input stream.
- pemFromInputStream(InputStream, InputStream, String) - Method in class io.javalin.community.ssl.SSLConfig
-
Load pem formatted identity data from a given input stream.
- pemFromPath(String, String) - Method in class io.javalin.community.ssl.SSLConfig
-
Load pem formatted identity data from a given path in the system.
- pemFromPath(String, String, String) - Method in class io.javalin.community.ssl.SSLConfig
-
Load pem formatted identity data from a given path in the system.
- pemFromString(String, String) - Method in class io.javalin.community.ssl.SSLConfig
-
Load pem formatted identity data from a given string.
- pemFromString(String, String, String) - Method in class io.javalin.community.ssl.SSLConfig
-
Load pem formatted identity data from a given string.
- pemPrivateKeyFile - Variable in class io.javalin.community.ssl.SSLConfig.InnerConfig
-
Name of the private key PEM file in the classpath.
- pemPrivateKeyInputStream - Variable in class io.javalin.community.ssl.SSLConfig.InnerConfig
-
Input stream to the private key PEM file.
- pemPrivateKeyPath - Variable in class io.javalin.community.ssl.SSLConfig.InnerConfig
-
Path to the private key PEM file.
- pemPrivateKeyString - Variable in class io.javalin.community.ssl.SSLConfig.InnerConfig
-
Private key as a PEM encoded string.
- privateKeyPassword - Variable in class io.javalin.community.ssl.SSLConfig.InnerConfig
-
Password for the private key.
S
- secure - Variable in class io.javalin.community.ssl.SSLConfig
-
Toggle the default https (secure) connector.
- securePort - Variable in class io.javalin.community.ssl.SSLConfig
-
Port to use on the SSL (secure) connector.
- securityProvider - Variable in class io.javalin.community.ssl.SSLConfig
-
Security provider to use for the SSLContext.
- sniHostCheck - Variable in class io.javalin.community.ssl.SSLConfig
-
Disable SNI checks.
- SSLConfig - Class in io.javalin.community.ssl
-
Data class to hold the configuration for the plugin.
- SSLConfig() - Constructor for class io.javalin.community.ssl.SSLConfig
- SSLConfig.InnerConfig - Class in io.javalin.community.ssl
-
Configuration for the SSL (secure) connector, meant to be accessed using its setters.
- SSLConfig.InnerConfig.IdentityLoadingType - Enum Class in io.javalin.community.ssl
- SSLConfigException - Exception in io.javalin.community.ssl
-
Exception thrown when the SSLConfig is invalid.
- SSLConfigException(SSLConfigException.Types) - Constructor for exception io.javalin.community.ssl.SSLConfigException
- SSLConfigException(SSLConfigException.Types, String) - Constructor for exception io.javalin.community.ssl.SSLConfigException
- SSLConfigException(String) - Constructor for exception io.javalin.community.ssl.SSLConfigException
- SSLConfigException.Types - Enum Class in io.javalin.community.ssl
- SSLPlugin - Class in io.javalin.community.ssl
-
A plugin to easily enable SSL on a Javalin server.
- SSLPlugin() - Constructor for class io.javalin.community.ssl.SSLPlugin
-
Creates a new SSLPlugin with the default configuration.
- SSLPlugin(SSLConfig) - Constructor for class io.javalin.community.ssl.SSLPlugin
-
Creates a new SSLPlugin with the given configuration.
- SSLPlugin(Consumer<SSLConfig>) - Constructor for class io.javalin.community.ssl.SSLPlugin
-
Creates a new SSLPlugin with the given configuration lambda/supplier.
- SSLUtils - Class in io.javalin.community.ssl.util
-
Utility class for SSL related tasks.
- SSLUtils() - Constructor for class io.javalin.community.ssl.util.SSLUtils
T
- tlsConfig - Variable in class io.javalin.community.ssl.SSLConfig
-
TLS Security configuration
- TLSConfig - Class in io.javalin.community.ssl
-
Data class for the SSL configuration.
- TLSConfig(String[], String[]) - Constructor for class io.javalin.community.ssl.TLSConfig
- toString() - Method in class io.javalin.community.ssl.TLSConfig
V
- valueOf(String) - Static method in enum class io.javalin.community.ssl.SSLConfig.InnerConfig.IdentityLoadingType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.javalin.community.ssl.SSLConfigException.Types
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.javalin.community.ssl.SSLConfig.InnerConfig.IdentityLoadingType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.javalin.community.ssl.SSLConfigException.Types
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form