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
- certificateFromClasspath(String) - Method in class io.javalin.community.ssl.TrustConfig
-
Load certificate data from the classpath.
- certificateFromInputStream(InputStream) - Method in class io.javalin.community.ssl.TrustConfig
-
Load certificate data from a given input stream.
- certificateFromPath(String) - Method in class io.javalin.community.ssl.TrustConfig
-
Load certificate data from a given path in the system.
- certificates - Variable in class io.javalin.community.ssl.TrustConfig
-
List of certificates to be trusted, can be loaded using the helper methods or directly.
- configConnectors - Variable in class io.javalin.community.ssl.SSLConfig
-
Deprecated, for removal: This API element is subject to removal in a future version.
- configConnectors(Consumer<ServerConnector>) - Method in class io.javalin.community.ssl.SSLConfig
-
Consumer to configure the different
ServerConnectorthat 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
- 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(SSLFactory, SSLConfig) - Static method in class io.javalin.community.ssl.util.SSLUtils
-
Helper method to create a
SslContextFactoryfrom the SSLFactory.
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.
G
- getMessage() - Method in enum class io.javalin.community.ssl.SSLConfigException.Types
- getSslFactory(SSLConfig) - Static method in class io.javalin.community.ssl.util.SSLUtils
-
Helper method to create a
SSLFactoryfrom the given config. - getSslFactory(SSLConfig, boolean) - Static method in class io.javalin.community.ssl.util.SSLUtils
-
Helper method to create a
SSLFactoryfrom the given config.
H
- 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 - module io.javalin.community.ssl
- 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.
- keyStores - Variable in class io.javalin.community.ssl.TrustConfig
-
List of KeyStores to be trusted, can be loaded using the helper methods or directly.
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
- p7bCertificateFromString(String) - Method in class io.javalin.community.ssl.TrustConfig
-
Load P7B certificate data from a given string.
- 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.
- parseTrust(TrustConfig, SSLFactory.Builder) - Static method in class io.javalin.community.ssl.util.SSLUtils
-
Helper method to parse the given config and add Trust 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) - Method in class io.javalin.community.ssl.TrustConfig
-
Load pem formatted identity data from a given string.
- 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.
R
- redirect - Variable in class io.javalin.community.ssl.SSLConfig
-
Enable http to https redirection.
- reload(SSLConfig) - Method in class io.javalin.community.ssl.SSLPlugin
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
SSLPlugin.reload(Consumer)instead. - reload(Consumer<SSLConfig>) - Method in class io.javalin.community.ssl.SSLPlugin
-
Method to hot-swap the certificate and key material of the plugin.
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
-
Type of identity loading types.
- 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
-
Types of errors that can occur when configuring 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() - Constructor for class io.javalin.community.ssl.TLSConfig
- TrustConfig - Class in io.javalin.community.ssl
-
Configuration for the trust store, used to verify the identity of the clients.
- TrustConfig() - Constructor for class io.javalin.community.ssl.TrustConfig
- trustStoreFromClasspath(String, String) - Method in class io.javalin.community.ssl.TrustConfig
-
Load a trust store from the classpath.
- trustStoreFromInputStream(InputStream, String) - Method in class io.javalin.community.ssl.TrustConfig
-
Load a trust store from a given input stream.
- trustStoreFromPath(String, String) - Method in class io.javalin.community.ssl.TrustConfig
-
Load a trust store from a given path in the system.
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.
W
- withTrustConfig(Consumer<TrustConfig>) - Method in class io.javalin.community.ssl.SSLConfig
-
Trust configuration as a consumer.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
SSLConfig.configConnectors(Consumer<ServerConnector>)instead, access modifier will be changed to private in the next major release.