Package org.opensaml.security.httpclient
Class HttpClientSecurityConstants
- java.lang.Object
-
- org.opensaml.security.httpclient.HttpClientSecurityConstants
-
public final class HttpClientSecurityConstants extends Object
Security-related constants for use with Apache HttpClient.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONTEXT_KEY_CLIENT_TLS_CREDENTIAL
HttpContext key for the client TLS credential.static String
CONTEXT_KEY_CRITERIA_SET
Context key for a criteria set instance supplied by an HttpClient caller.static String
CONTEXT_KEY_HOSTNAME_VERIFIER
HttpContext key for an instance ofHostnameVerifier
.static String
CONTEXT_KEY_SERVER_TLS_CREDENTIAL_TRUSTED
Context key for a server TLS credential evaluation result, populated by specialized instances of HttpClient socket factories.static String
CONTEXT_KEY_SERVER_TLS_FAILURE_IS_FATAL
Context key for indicating whether server TLS evaluation failure should be treated as a fatal error.static String
CONTEXT_KEY_TLS_CIPHER_SUITES
HttpContext key for a a list of TLS cipher suites to enable on the socket.static String
CONTEXT_KEY_TLS_PROTOCOLS
HttpContext key for a a list of TLS protocols to enable on the socket.static String
CONTEXT_KEY_TRUST_ENGINE
Context key for a trust engine instance supplied by an HttpClient caller.
-
Constructor Summary
Constructors Modifier Constructor Description private
HttpClientSecurityConstants()
Constructor.
-
-
-
Field Detail
-
CONTEXT_KEY_TRUST_ENGINE
public static final String CONTEXT_KEY_TRUST_ENGINE
Context key for a trust engine instance supplied by an HttpClient caller. Value must be an instance ofTrustEngine
<? super
X509Credential
>
.- See Also:
- Constant Field Values
-
CONTEXT_KEY_CRITERIA_SET
public static final String CONTEXT_KEY_CRITERIA_SET
Context key for a criteria set instance supplied by an HttpClient caller. Value must be an instance ofCriteriaSet
.- See Also:
- Constant Field Values
-
CONTEXT_KEY_SERVER_TLS_CREDENTIAL_TRUSTED
public static final String CONTEXT_KEY_SERVER_TLS_CREDENTIAL_TRUSTED
Context key for a server TLS credential evaluation result, populated by specialized instances of HttpClient socket factories. Type will be aBoolean
.- See Also:
- Constant Field Values
-
CONTEXT_KEY_SERVER_TLS_FAILURE_IS_FATAL
public static final String CONTEXT_KEY_SERVER_TLS_FAILURE_IS_FATAL
Context key for indicating whether server TLS evaluation failure should be treated as a fatal error. Type will be aBoolean
.- See Also:
- Constant Field Values
-
CONTEXT_KEY_CLIENT_TLS_CREDENTIAL
public static final String CONTEXT_KEY_CLIENT_TLS_CREDENTIAL
HttpContext key for the client TLS credential. Must be an instance ofX509Credential
.- See Also:
- Constant Field Values
-
CONTEXT_KEY_TLS_PROTOCOLS
public static final String CONTEXT_KEY_TLS_PROTOCOLS
HttpContext key for a a list of TLS protocols to enable on the socket. Must be an instance ofList
<
String
>
.- See Also:
- Constant Field Values
-
CONTEXT_KEY_TLS_CIPHER_SUITES
public static final String CONTEXT_KEY_TLS_CIPHER_SUITES
HttpContext key for a a list of TLS cipher suites to enable on the socket. Must be an instance ofList
<
String
>
.- See Also:
- Constant Field Values
-
CONTEXT_KEY_HOSTNAME_VERIFIER
public static final String CONTEXT_KEY_HOSTNAME_VERIFIER
HttpContext key for an instance ofHostnameVerifier
.- See Also:
- Constant Field Values
-
-