public final class SecurityConstants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
HTTPS_CIPHER_SUITES
Keystore/truststore related system property keys
|
static String |
KEYSTORE_PASSWORD |
static String |
KEYSTORE_PATH |
static String |
KEYSTORE_TYPE |
static String |
SAML_ASSERTION
Property key to obtain the saml assertion from a query request / response.
|
static String |
SAML_COOKIE_NAME
Property key to obtain the legacy saml cookie from an incoming HTTP Request
|
static String |
SAML_COOKIE_REF
Property key to obtain the legacy saml cookie reference from an incoming HTTP request
|
static String |
SAML_HEADER_NAME
Name of the header containing the saml assertion for HTTP requests/responses
|
static String |
SECURITY_LOGGER
String used to retrieve the security LOGGER in each class that wishes to log to the security
log.
|
static String |
SECURITY_SUBJECT
Property name for the security subject.
|
static String |
TRUSTSTORE_PASSWORD |
static String |
TRUSTSTORE_PATH |
static String |
TRUSTSTORE_TYPE |
Modifier and Type | Method and Description |
---|---|
static String |
getKeystorePassword()
Helper method for retrieving the keystore password
|
static String |
getKeystorePath()
Helper method for retrieving the keystore
|
static String |
getTruststorePassword()
Helper method for retrieving the truststore password
|
static String |
getTruststorePath()
Helper method for retrieving the truststore
|
static KeyStore |
newKeystore() |
static KeyStore |
newTruststore() |
public static final String SECURITY_LOGGER
public static final String SECURITY_SUBJECT
public static final String SAML_ASSERTION
public static final String SAML_COOKIE_NAME
public static final String SAML_COOKIE_REF
public static final String SAML_HEADER_NAME
public static final String HTTPS_CIPHER_SUITES
public static final String KEYSTORE_PASSWORD
public static final String KEYSTORE_PATH
public static final String KEYSTORE_TYPE
public static final String TRUSTSTORE_PASSWORD
public static final String TRUSTSTORE_PATH
public static final String TRUSTSTORE_TYPE
public static String getKeystorePath()
public static String getKeystorePassword()
public static String getTruststorePath()
public static String getTruststorePassword()
public static KeyStore newKeystore() throws KeyStoreException
KeyStoreException
public static KeyStore newTruststore() throws KeyStoreException
KeyStoreException
This work is licensed under a Creative Commons Attribution 4.0 International License.