Package org.opensaml.security.httpclient
Class HttpClientSecurityConstants
java.lang.Object
org.opensaml.security.httpclient.HttpClientSecurityConstants
Security-related constants for use with Apache HttpClient.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
HttpContext key for the client TLS credential.static final String
Context key for a criteria set instance supplied by an HttpClient caller.static final String
HttpContext key for an instance ofHostnameVerifier
.static final String
Context key for a server TLS credential evaluation result, populated by specialized instances of HttpClient socket factories.static final String
Context key for indicating whether server TLS evaluation failure should be treated as a fatal error.static final String
HttpContext key for a a list of TLS cipher suites to enable on the socket.static final String
HttpContext key for a a list of TLS protocols to enable on the socket.static final String
Context key for a trust engine instance supplied by an HttpClient caller. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
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:
-
CONTEXT_KEY_CRITERIA_SET
Context key for a criteria set instance supplied by an HttpClient caller. Value must be an instance ofCriteriaSet
.- See Also:
-
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:
-
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:
-
CONTEXT_KEY_CLIENT_TLS_CREDENTIAL
HttpContext key for the client TLS credential. Must be an instance ofX509Credential
.- See Also:
-
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:
-
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:
-
CONTEXT_KEY_HOSTNAME_VERIFIER
HttpContext key for an instance ofHostnameVerifier
.- See Also:
-
-
Constructor Details
-
HttpClientSecurityConstants
private HttpClientSecurityConstants()Constructor.
-