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 Details

    • 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 of TrustEngine<? super X509Credential>.
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • CONTEXT_KEY_HOSTNAME_VERIFIER

      public static final String CONTEXT_KEY_HOSTNAME_VERIFIER
      HttpContext key for an instance of HostnameVerifier.
      See Also:
  • Constructor Details

    • HttpClientSecurityConstants

      private HttpClientSecurityConstants()
      Constructor.