java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.users.SecretsStore

public class SecretsStore extends Object
A SecretsStore holds a set of named collections each holding the secrets needed to either describe a user (used to authenticate that user and define the resources they have access to) or create the necessary authentication information to connect to a remote system.
  • Constructor Details

    • SecretsStore

      public SecretsStore()
      Default constructor
  • Method Details

    • getSecretsCollections

      public Map<String,SecretsCollection> getSecretsCollections()
      Return the map of secrets collections.
      Returns:
      map
    • setSecretsCollections

      public void setSecretsCollections(Map<String,SecretsCollection> secretsCollections)
      Set up a new secrets collection map.
      Parameters:
      secretsCollections - map
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Hash of properties
      Overrides:
      hashCode in class Object
      Returns:
      int