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