Class SecretValue

java.lang.Object
io.fluxzero.idp.bff.session.SecretValue
All Implemented Interfaces:
AutoCloseable

public final class SecretValue extends Object implements AutoCloseable
In-process value only. Accidental JSON serialization and logging are always redacted.
  • Constructor Details

    • SecretValue

      public SecretValue(byte[] value)
  • Method Details

    • copy

      public byte[] copy()
      Caller owns and must discard this transient copy; never dispatch it through ordinary messaging.
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • toString

      public String toString()
      Overrides:
      toString in class Object