Class ThreadLocalX509TrustEngineContext.Data

java.lang.Object
org.opensaml.security.x509.tls.impl.ThreadLocalX509TrustEngineContext.Data
Enclosing class:
ThreadLocalX509TrustEngineContext

private static final class ThreadLocalX509TrustEngineContext.Data extends Object
Unified class representing the data that will be managed by the thread local storage.
  • Field Details

    • trustEngine

      @Nonnull private TrustEngine<? super X509Credential> trustEngine
      Trust engine.
    • criteriaSet

      @Nonnull private CriteriaSet criteriaSet
      Criteria.
    • trusted

      @Nullable private Boolean trusted
      Whether evaluation target was trusted.
    • failureFatal

      @Nonnull private Boolean failureFatal
      Whether trust engine evaluation failure should be treated as fatal. Defaults to true.
  • Constructor Details

    • Data

      private Data(@Nonnull TrustEngine<? super X509Credential> engine, @Nonnull CriteriaSet criteria, @Nullable Boolean fatal)
      Constructor.
      Parameters:
      engine - the trust engine
      criteria - the trust criteria
      fatal - whether trust engine failure should be treated as fatal