Package oracle.kv

Interface LoginCredentials

  • All Superinterfaces:
    oracle.kv.impl.util.FastExternalizable
    All Known Implementing Classes:
    KerberosCredentials, PasswordCredentials

    public interface LoginCredentials
    extends oracle.kv.impl.util.FastExternalizable
    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 Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getUsername()
      Identifies the user owning the credentials.
      • Methods inherited from interface oracle.kv.impl.util.FastExternalizable

        deserializedForm, writeFastExternal
    • Method Detail

      • getUsername

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