Class HttpClientSecurityConstants


  • public final class HttpClientSecurityConstants
    extends Object
    Security-related constants for use with Apache HttpClient.
    • Field Detail

      • 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 of CriteriaSet.
        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 a Boolean.
        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 a Boolean.
        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 of X509Credential.
        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 of List<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 of List<String>.
        See Also:
        Constant Field Values
    • Constructor Detail

      • HttpClientSecurityConstants

        private HttpClientSecurityConstants()
        Constructor.