oracle.kv

## Interface LoginCredentials

- All Known Implementing Classes:
    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 Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getUsername()` Identifies the user owning the credentials.

- - ### Method Detail

    - #### getUsername

          String getUsername()

      Identifies the user owning the credentials.
      Returns:
        the name of the user for which the credentials belong.

Copyright (c) 2011, 2014 Oracle and/or its affiliates. All rights reserved.