All Known Implementing Classes:
CredentialsImpl

public interface Credentials
Interface that describes the credentials for a given service or user.
Author:
muzquiano
  • Field Details

  • Method Details

    • getEndpointId

      String getEndpointId()
      Gets the endpoint id.
      Returns:
      the endpoint id
    • getProperty

      Object getProperty(String key)
      Gets a given property
      Parameters:
      key - the key
      Returns:
      the property
    • setProperty

      void setProperty(String key, Object value)
      Sets a given property
      Parameters:
      key - the key
      value - the value
    • removeProperty

      void removeProperty(String key)
      Removes a given property
      Parameters:
      key - String
    • removeAllProperties

      void removeAllProperties(String key)
      Removes all properties
      Parameters:
      key - String
    • getPropertyKeys

      String[] getPropertyKeys()
      Returns the property keys
      Returns:
      array of property keys
    • isPersistent

      boolean isPersistent()
      Returns whether this credential is persistent A persistent credential is written to a persistent vault. A non-persistent credential is loaded into the vault but never stored
      Returns:
      boolean