Interface SensitivePropertySource

All Superinterfaces:
PropertySource
All Known Implementing Classes:
SecretStorePropertySource

public interface SensitivePropertySource extends PropertySource
Marker specialization of PropertySource whose values are sensitive and must be redacted anywhere they would otherwise be surfaced — a toString(), a settings dump, or a log line.

This marker is the seam that keeps the opt-in SecretStorePropertySource bridge from leaking bridged secrets: a dump/log path that iterates PropertySources should test src instanceof SensitivePropertySource and redact rather than print resolved values. The marker is scoped to the bridge on purpose — it is not forced across all of Settings.

Since:
10.0.0
  • Method Summary

    Methods inherited from interface org.apache.juneau.commons.settings.PropertySource

    get