Package oracle.kv

Interface LoginCredentials

  • All Known Implementing Classes:
    KerberosCredentials, PasswordCredentials

    public interface LoginCredentials
    The common interface of KVStore credential class implementations. Applications can supply objects that implement this interface in order to authenticate a user when accessing a KVStore instance as an alternative to specifying authentication information in login properties.
    Since:
    3.0
    • Method Detail

      • getUsername

        String getUsername()
        Identifies the user owning the credentials.
        Returns:
        the name of the user for which the credentials belong.