Class Secrets

All Implemented Interfaces:
IdentifiedCollection<Secret>

public class Secrets extends IdentifiedCollection.Base<Secret>

A collection of Secrets for use when communicating with remote resources, e.g. WFS servers

  • Constructor Details

    • Secrets

      public Secrets()
  • Method Details

    • getUserHomeSecrets

      public static Path getUserHomeSecrets(Engine engine)
      Returns:
      the location on the user's filesystem where we expect secrets to be defined. Note that this is here so that error messages about secrets can refer to it (without needing any secrets to be defined in the first place.)
    • getOfType

      public <T extends Secret> List<T> getOfType(Class<T> secretClass)