public interface SecurityConfiguration
| Modifier and Type | Method and Description |
|---|---|
String[] |
getCiphersuiteExcluded()
Get excluded cipher suites to not pass to
SSLEngine
Jetty: org.eclipse.jetty.util.ssl.SslContextFactory#DEFAULT_EXCLUDED_CIPHER_SUITES |
String[] |
getCiphersuiteIncluded()
Get included cipher suites to specify in
SSLEngine |
String |
getCrlPath()
Get location of CRL list.
|
Long |
getDigestAuthMaxNonceAge()
Returns max nonce age for DIGEST authentication (in ms), defaults to 60s (60000ms)
|
Integer |
getDigestAuthMaxNonceCount()
Returns max nonce count for DIGEST authentication, defaults to 1024
|
String |
getEncAlgorithm()
Returns an algorithm ID to use for
SecretKeyFactory. |
Integer |
getEncIterationCount()
Returns an iteration count to use for PBE encryption
|
String |
getEncMasterPassword()
Returns plain text master password to use.
|
String |
getEncMasterPasswordEnvVariable()
Returns an environment variable name that holds plain text master password to use.
|
String |
getEncMasterPasswordSystemProperty()
Returns an system property name that holds plain text master password to use.
|
String |
getEncOSGiDecryptorId()
Returns a decryptor ID.
|
String |
getEncPrefix()
Returns a prefix for encrypted property values - defaults to
ENC( |
String |
getEncProvider()
Returns a provider to use for
SecretKeyFactory. |
String |
getEncSuffix()
Returns a prefix for encrypted property values - defaults to
) |
Boolean |
getFormAuthRedirect()
Returns whether to redirect (by default) or forward to error page during FORM authentication
|
Integer |
getMaxCertPathLength()
Return max length of cert path to use during certificate validation
|
String |
getOcspResponderURL()
Return URL for OCSP responder, though it doesn't seem to be used by Jetty.
|
String[] |
getProtocolsExcluded()
Get excluded protocols to not pass to
SSLEngine
Jetty: org.eclipse.jetty.util.ssl.SslContextFactory#DEFAULT_EXCLUDED_PROTOCOLS |
String[] |
getProtocolsIncluded()
Get included protocols to specify in
SSLEngine |
String |
getSecureRandomAlgorithm()
Returns algorithm name to use in
SecureRandom.getInstance(String) |
String |
getSslKeyAlias()
Returns the alias of the ssl private key inside server keystore.
|
String |
getSslKeyManagerFactoryAlgorithm()
Returns the algorithm for private key.
|
String |
getSslKeyPassword()
Returns the password for ssl private key inside a keystore specified by
getSslKeystore(). |
String |
getSslKeystore()
Returns the file path or URL to server keystore.
|
String |
getSslKeystorePassword()
Returns the password for entire keystore (not for the key inside it).
|
String |
getSslKeystoreProvider()
Returns the server keystore provider as specifed by
KeyStore.getInstance(String, String) |
String |
getSslKeystoreType()
Returns the server keystore type as specifed by
KeyStore.getInstance(String, String) |
String |
getSslProtocol()
Returns protocol name to use in
SSLContext. |
String |
getSslProvider()
Returns the name of SSL provider to use with secure connector/listener.
|
Integer |
getSslRenegotiationLimit()
Get limit of SSL renegotiations
|
Integer |
getSslSessionCacheSize()
Cache size for SSL Sessions as in
SSLSessionContext |
Boolean |
getSslSessionsEnabled()
Is SSL Session creation enabled? (as hint to
SSLEngine. |
Integer |
getSslSessionTimeout()
Timeout for SSL Sessions (in seconds) as in
SSLSessionContext |
String |
getTrustManagerFactoryAlgorithm()
Returns the algorithm for truststore entries.
|
String |
getTruststore()
Gets location of server truststore.
|
String |
getTruststorePassword()
Returns the password for entire truststore.
|
String |
getTruststoreProvider()
Returns the server truststore provider as specifed by
KeyStore.getInstance(String, String) |
String |
getTruststoreType()
Returns the server truststore type as specifed by
KeyStore.getInstance(String, String) |
Boolean |
isClientAuthNeeded()
Set client auth needed flag as in
SSLEngine |
Boolean |
isClientAuthWanted()
Set client auth wanted flag as in
SSLEngine |
Boolean |
isEnableCRLDP()
Should Certificate Revocation List Distribution Points support (CRLDP) be enabled?
Jetty sets
com.sun.security.enableCRLDP system property
|
Boolean |
isEnableOCSP()
Should On-Line Certificate Status Protocol (OCSP) be enabled?
Jetty calls
Security.setProperty(java.lang.String, java.lang.String) to set ocsp.enable property
|
Boolean |
isEncEnabled()
Checks if configuration values are expected to be encrypted - this triggers a configuration (or tracking)
of Jasypt StringEncryptor (optional dependency)
|
Boolean |
isSslRenegotiationAllowed()
Is SSL renegotiation allowed?
|
Boolean |
isValidateCerts()
Should certificates in server keystore be validated when keystore is loaded? If
true:
Jetty will use org.eclipse.jetty.util.security.CertificateValidator, which underneath uses
java.security.cert.CertPathValidator#validate).
|
Boolean |
isValidatePeerCerts()
Should certificates in server truststore be validated when truststore is loaded?
|
String getSslProvider()
String getSslKeystore()
String getSslKeystorePassword()
String getSslKeyPassword()
getSslKeystore().
Can be encrypted using Jasypt.String getSslKeystoreType()
KeyStore.getInstance(String, String)String getSslKeystoreProvider()
KeyStore.getInstance(String, String)String getSslKeyManagerFactoryAlgorithm()
KeyManagerFactory will be used (OpenJDK: SunX509).String getSslKeyAlias()
String getTruststore()
String getTruststorePassword()
String getTruststoreType()
KeyStore.getInstance(String, String)String getTruststoreProvider()
KeyStore.getInstance(String, String)String getTrustManagerFactoryAlgorithm()
TrustManagerFactory will be used (OpenJDK: SunX509).Boolean isClientAuthWanted()
SSLEngineBoolean isClientAuthNeeded()
SSLEngineString getSslProtocol()
SSLContext. Defaults to TLSv1.2String getSecureRandomAlgorithm()
SecureRandom.getInstance(String)String[] getProtocolsIncluded()
SSLEngineString[] getProtocolsExcluded()
SSLEngine
Jetty: org.eclipse.jetty.util.ssl.SslContextFactory#DEFAULT_EXCLUDED_PROTOCOLSString[] getCiphersuiteIncluded()
SSLEngineString[] getCiphersuiteExcluded()
SSLEngine
Jetty: org.eclipse.jetty.util.ssl.SslContextFactory#DEFAULT_EXCLUDED_CIPHER_SUITESBoolean isSslRenegotiationAllowed()
Integer getSslRenegotiationLimit()
Boolean getSslSessionsEnabled()
SSLEngine.Integer getSslSessionCacheSize()
SSLSessionContextInteger getSslSessionTimeout()
SSLSessionContextBoolean isValidateCerts()
true:org.eclipse.jetty.util.security.CertificateValidator, which underneath uses
java.security.cert.CertPathValidator#validate).Boolean isValidatePeerCerts()
Boolean isEnableOCSP()
Security.setProperty(java.lang.String, java.lang.String) to set ocsp.enable propertyBoolean isEnableCRLDP()
com.sun.security.enableCRLDP system propertyString getCrlPath()
String getOcspResponderURL()
Integer getMaxCertPathLength()
Long getDigestAuthMaxNonceAge()
Integer getDigestAuthMaxNonceCount()
Boolean getFormAuthRedirect()
Boolean isEncEnabled()
String getEncPrefix()
ENC(String getEncSuffix()
)String getEncProvider()
SecretKeyFactory. Defaults (Oracle/OpenJDK) to SunJCEString getEncAlgorithm()
SecretKeyFactory. Defaults to
PBEWithHmacSHA256AndAES_128String getEncMasterPassword()
String getEncMasterPasswordEnvVariable()
String getEncMasterPasswordSystemProperty()
Integer getEncIterationCount()
String getEncOSGiDecryptorId()
(&(objectClass=org.jasypt.encryption.StringEncryptor)(decryptor=<decryptor ID>)) filter to lookup
for encryptor/decryptor service.Copyright © 2006–2024 OPS4J - Open Participation Software for Java. All rights reserved.