Class JsonCredential

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
org.springframework.credhub.support.json.JsonCredential
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>

public class JsonCredential extends HashMap<String,Object>
A JSON credential consists of one or more fields in a JSON document. The JSON document is represented as a Map object, which will be converted to a JSON document before sending to CredHub.
Author:
Scott Frederick
See Also:
  • Constructor Details

    • JsonCredential

      public JsonCredential()
      Create a JsonCredential.
      See Also:
    • JsonCredential

      public JsonCredential(int initialCapacity)
      Create a JsonCredential with the specified initial capacity.
      Parameters:
      initialCapacity - the initial capacity
      See Also:
    • JsonCredential

      public JsonCredential(int initialCapacity, float loadFactor)
      Create a JsonCredential with the specified initial capacity and load factor.
      Parameters:
      initialCapacity - the initial capacity
      loadFactor - the load factor
      See Also:
    • JsonCredential

      public JsonCredential(Map<? extends String,?> m)
      Create a JsonCredential from the provided Map.
      Parameters:
      m - the map whose mappings are to be placed in this map
      See Also: