Class CryptoTransientIdGenerationStrategy

All Implemented Interfaces:
TransientIdGenerationStrategy, Component, DestructableComponent, IdentifiableComponent, IdentifiedComponent, InitializableComponent

public class CryptoTransientIdGenerationStrategy extends AbstractIdentifiableInitializableComponent implements TransientIdGenerationStrategy
Generates transients using a DataSealer to encrypt the result into a recoverable value, for use with stateless clustering.
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • dataSealer

      @NonnullAfterInit private DataSealer dataSealer
      Object used to protect and encrypt the data.
    • idLifetime

      @Nonnull private Duration idLifetime
      Length tokens are valid.
  • Constructor Details

    • CryptoTransientIdGenerationStrategy

      public CryptoTransientIdGenerationStrategy()
  • Method Details