Interface Credentials

  • All Known Implementing Classes:
    CredentialsImpl

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

      • getEndpointId

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

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

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

        void removeProperty​(java.lang.String key)
        Removes a given property
        Parameters:
        key - String
      • removeAllProperties

        void removeAllProperties​(java.lang.String key)
        Removes all properties
        Parameters:
        key - String
      • getPropertyKeys

        java.lang.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