Class ClientTLSSecurityParametersContext

java.lang.Object
org.opensaml.messaging.context.BaseContext
org.opensaml.security.messaging.ClientTLSSecurityParametersContext
All Implemented Interfaces:
Iterable<BaseContext>

public final class ClientTLSSecurityParametersContext extends BaseContext
Messaging context implementation for holding parameters related to validating client TLS X509Credential instances.
  • Field Details

  • Constructor Details

    • ClientTLSSecurityParametersContext

      public ClientTLSSecurityParametersContext()
  • Method Details

    • isEvaluateClientCertificate

      public boolean isEvaluateClientCertificate()
      Determine whether to evaluate the certificate presented by the TLS client.

      Defaults to: true

      Returns:
      true if should evaluate, false otherwise
    • setEvaluateClientCertificate

      @Nonnull public ClientTLSSecurityParametersContext setEvaluateClientCertificate(boolean flag)
      Set whether to evaluate the certificate presented by the TLS client.

      Defaults to: true

      Parameters:
      flag - true if should evaluate, false otherwise
      Returns:
      this context
    • getValidationParameters

      @Nullable public ClientTLSValidationParameters getValidationParameters()
      Get an instance of ClientTLSValidationParameters.
      Returns:
      return the parameters instance, may be null
    • setValidationParameters

      @Nonnull public ClientTLSSecurityParametersContext setValidationParameters(@Nullable ClientTLSValidationParameters params)
      Set an instance of ClientTLSValidationParameters.
      Parameters:
      params - the parameters instance to set, may be null
      Returns:
      this context