Package oracle.kv

Class KerberosCredentials

java.lang.Object
oracle.kv.KerberosCredentials
All Implemented Interfaces:
Serializable, oracle.kv.impl.util.FastExternalizable, LoginCredentials

public class KerberosCredentials extends Object implements LoginCredentials, Serializable
Login credentials for Kerberos authentication.

This class provides a way for an application to authenticate as a particular Kerberos user when accessing a KVStore instance.

There are two approaches that client applications can use to authenticate using Kerberos. Client applications that use the Java Authentication and Authorization Service (JAAS) programming framework can specify credentials by using the Subject.doAs(javax.security.auth.Subject, java.security.PrivilegedAction<T>) method.

Applications that do not use the JAAS framework can use this class to specify a Kerberos identity. The credentials of the specified user will be acquired from the Kerberos Key Distribution Center (KDC) based on the values specified for the KerberosCredentials instance.

Since:
3.5
See Also: