Interface AuthStore

  • All Known Implementing Classes:
    Credentials, Credentials, KeystoneAuth, RaxApiKeyCredentials

    public interface AuthStore
    An entity which holds enough information in store to re-authenticate at any given time during a session. This is a generic mapping which provides the common information needed for authentication. Version dependent attributes can be found via the #unwrap() call returning the real typed object
    Author:
    Jeremy Unruh
    • Method Detail

      • getVersion

        AuthVersion getVersion()
        Returns:
        the version of this authentication store type
      • getUsername

        String getUsername()
        Returns:
        the username used to authenticate
      • getPassword

        String getPassword()
        Returns:
        the password used to authenticate
      • getId

        String getId()
        If this is a AuthVersion.V2 then this is the tenantId. If AuthVersion.V3 then this maps to the projectId
        Returns:
        the tenantId (V2) or projectId for V3
      • getName

        String getName()
        If this is a AuthVersion.V2 then this is the tenant name. If AuthVersion.V3 then this maps to the project name
        Returns:
        the tenant name (V2) or project name for V3